🏗️ 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

@@ -9,9 +9,11 @@
{{- end }}
<div class="post-eof"></div>
{{- else }}
{{ partial "post/post_footer/post_reward.html" . }}
{{ partial "post/post_footer/post_copyright.html" . }}
{{ partial "post/post_footer/post_followme.html" . }}
{{ partial "post/post_footer/tags.html" . }}
<hr/>
{{ partial "post/post_footer/reward.html" . }}
{{ partial "post/post_footer/copyright.html" . }}
{{ partial "post/post_footer/followme.html" . }}
<div class="post-nav">
<div class="post-nav-next post-nav-item">
{{- with .NextInSection }}

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 }}