aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials/metadata.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/metadata.html')
-rw-r--r--layouts/partials/metadata.html18
1 files changed, 10 insertions, 8 deletions
diff --git a/layouts/partials/metadata.html b/layouts/partials/metadata.html
index fdbb504..7756667 100644
--- a/layouts/partials/metadata.html
+++ b/layouts/partials/metadata.html
@@ -21,25 +21,27 @@
| {{ .ReadingTime }} mins read
{{ end }}
- {{ with .Params.tags }}
+ {{ with .GetTerms "tags" }}
|
- <a href="/tags" class="link grow w3-text-theme ph1">
+ <a href="/tags" class="link w3-text-theme ph1">
<i class="fas fa-tags"></i>
</a>
{{ range . }}
- {{ $href := print (absURL "tags/") (urlize .) }}
- <a class="link underline color-inherit" href="{{ $href }}">{{ . }}</a>
+ <a class="link underline color-inherit" href="{{ .RelPermalink }}"
+ >{{ .Title }}</a
+ >
{{ end }}
{{ end }}
- {{ with .Params.categories }}
+ {{ with .GetTerms "categories" }}
|
- <a href="/categories" class="link grow w3-text-theme ph1">
+ <a href="/categories" class="link w3-text-theme ph1">
<i class="fas fa-folder-open"></i>
</a>
{{ range . }}
- {{ $href := print (absURL "categories/") (urlize .) }}
- <a class="underline color-inherit" href="{{ $href }}">{{ . }}</a>
+ <a class="link underline color-inherit" href="{{ .RelPermalink }}"
+ >{{ .Title }}</a
+ >
{{ end }}
{{ end }}
</p>