🐛 Fixed the post footer's tag link visit, closed #15
This commit is contained in:
parent
8aad5052df
commit
98cbde4863
@ -7,7 +7,7 @@ date: {{ .Date }}
|
|||||||
lastmod: {{ .Date }}
|
lastmod: {{ .Date }}
|
||||||
|
|
||||||
categories:
|
categories:
|
||||||
-
|
-
|
||||||
tags:
|
tags:
|
||||||
-
|
-
|
||||||
-
|
-
|
||||||
@ -30,7 +30,7 @@ tags:
|
|||||||
# 在当前页面开启或关闭评论功能
|
# 在当前页面开启或关闭评论功能
|
||||||
# Switch to enabled or disabled comment plugins in this post
|
# Switch to enabled or disabled comment plugins in this post
|
||||||
#comment:
|
#comment:
|
||||||
# enable: false
|
# enable: false
|
||||||
# 开启文章目录功能
|
# 开启文章目录功能
|
||||||
# Enable table of content
|
# Enable table of content
|
||||||
#toc: false
|
#toc: false
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
{{- with .Params.tags }}
|
{{- with .Params.tags }}
|
||||||
{{- if gt (len .) 0 }}
|
|
||||||
<div class="post-tags">
|
<div class="post-tags">
|
||||||
{{ range . }}
|
{{ range . }}
|
||||||
<a href="{{ . }}">{{ . }}</a>
|
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize | lower }}">
|
||||||
|
{{ . }}
|
||||||
|
</a>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
</div>
|
</div>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user