aboutsummaryrefslogtreecommitdiff
path: root/layouts/post/single.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/post/single.html')
-rw-r--r--layouts/post/single.html4
1 files changed, 2 insertions, 2 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 }}