🏗️ Finish post tags widget coding.
This commit is contained in:
@@ -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 }}
|
||||
|
||||
9
layouts/partials/post/post_footer/tags.html
Normal file
9
layouts/partials/post/post_footer/tags.html
Normal file
@@ -0,0 +1,9 @@
|
||||
{{- with .Params.tags }}
|
||||
{{- if gt (len .) 0 }}
|
||||
<div class="post-tags">
|
||||
{{ range . }}
|
||||
<a href="{{ . }}">{{ . }}</a>
|
||||
{{- end }}
|
||||
</div>
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user