🐛 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 }}
|
||||
|
||||
categories:
|
||||
-
|
||||
-
|
||||
tags:
|
||||
-
|
||||
-
|
||||
@ -30,7 +30,7 @@ tags:
|
||||
# 在当前页面开启或关闭评论功能
|
||||
# Switch to enabled or disabled comment plugins in this post
|
||||
#comment:
|
||||
# enable: false
|
||||
# enable: false
|
||||
# 开启文章目录功能
|
||||
# Enable table of content
|
||||
#toc: false
|
||||
|
@ -1,9 +1,9 @@
|
||||
{{- with .Params.tags }}
|
||||
{{- if gt (len .) 0 }}
|
||||
<div class="post-tags">
|
||||
{{ range . }}
|
||||
<a href="{{ . }}">{{ . }}</a>
|
||||
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize | lower }}">
|
||||
{{ . }}
|
||||
</a>
|
||||
{{- end }}
|
||||
</div>
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
Loading…
Reference in New Issue
Block a user