Update single.html

This commit is contained in:
Aredio 2023-06-07 18:24:02 +08:00 committed by GitHub
parent efc0fd632d
commit 6d2b4c2527
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@
{{- end }} {{- end }}
<footer class="post-footer"> <footer class="post-footer">
{{- $tags := .Language.Params.Taxonomies.tag | default "tags" }} {{- $tags := .Site.Params.Taxonomies.tag | default "tags" }}
<ul class="post-tags"> <ul class="post-tags">
{{- range ($.GetTerms $tags) }} {{- range ($.GetTerms $tags) }}
<li><a href="{{ .Permalink }}">{{ .LinkTitle }}</a></li> <li><a href="{{ .Permalink }}">{{ .LinkTitle }}</a></li>