Fix post__footer check condition

This commit is contained in:
vimux 2018-05-25 10:20:37 +03:00
parent 3682d6b158
commit ab7d847e21
No known key found for this signature in database
GPG key ID: 5A34FDC4EE832E34

View file

@ -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" . }}