aboutsummaryrefslogtreecommitdiff
path: root/layouts/post
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/post')
-rw-r--r--layouts/post/single.html4
-rw-r--r--layouts/post/summary.html2
2 files changed, 3 insertions, 3 deletions
diff --git a/layouts/post/single.html b/layouts/post/single.html
index 81c0939..62c317c 100644
--- a/layouts/post/single.html
+++ b/layouts/post/single.html
@@ -12,7 +12,7 @@
{{ with .Params.categories -}}
<div class="post-category">
{{ range . -}}
- <a href="/categories/{{ . | urlize }}">{{ . }}</a>
+ <a href="{{ "categories" | relURL }}/{{ . | urlize }}/">{{ . }}</a>
{{- end }}
</div>
{{- end }}
@@ -37,7 +37,7 @@
{{ with .Params.tags -}}
<div class="post-tags">
{{ range . }}
- <a href="/tags/{{ . | urlize }}">{{ . }}</a>
+ <a href="{{ "tags" | relURL }}/{{ . | urlize }}/">{{ . }}</a>
{{ end }}
</div>
{{- end }}
diff --git a/layouts/post/summary.html b/layouts/post/summary.html
index 8a4e774..bb55d5f 100644
--- a/layouts/post/summary.html
+++ b/layouts/post/summary.html
@@ -9,7 +9,7 @@
{{ with .Params.categories -}}
<div class="post-category">
{{ range . -}}
- <a href="/categories/{{ . | urlize }}">{{ . }}</a>
+ <a href="{{ "categories" | relURL }}/{{ . | urlize }}/">{{ . }}</a>
{{- end }}
</div>
{{- end }}