Fix post__footer check condition
This commit is contained in:
parent
3682d6b158
commit
ab7d847e21
1 changed files with 3 additions and 1 deletions
|
@ -12,9 +12,11 @@
|
||||||
</details>
|
</details>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<div class="post__content">{{ .Content }}</div>
|
<div class="post__content">{{ .Content }}</div>
|
||||||
|
{{ if .Params.tags }}
|
||||||
<footer class="post__footer">
|
<footer class="post__footer">
|
||||||
{{ if .Params.tags }}{{ partial "post_tags.html" . }}{{ end }}
|
{{ partial "post_tags.html" . }}
|
||||||
</footer>
|
</footer>
|
||||||
|
{{ end }}
|
||||||
</article>
|
</article>
|
||||||
</div>
|
</div>
|
||||||
{{ partial "comments.html" . }}
|
{{ partial "comments.html" . }}
|
||||||
|
|
Loading…
Reference in a new issue