🏗️ Finish post tags widget coding.

This commit is contained in:
凡梦星尘
2022-06-04 20:50:30 +08:00
parent e48a1427b6
commit ebe60171af
9 changed files with 51 additions and 5 deletions

View File

@@ -0,0 +1,9 @@
{{- with .Params.tags }}
{{- if gt (len .) 0 }}
<div class="post-tags">
{{ range . }}
<a href="{{ . }}">{{ . }}</a>
{{- end }}
</div>
{{- end }}
{{- end }}