Fix post__footer conditional statement

This commit is contained in:
vimux 2018-06-12 11:19:03 +03:00
parent 6b36c1ca0a
commit 07fe4c777c
No known key found for this signature in database
GPG key ID: 5A34FDC4EE832E34

View file

@ -7,7 +7,7 @@
<h1 class="post__title">{{ .Title }}</h1>
{{- partial "post_toc.html" . }}
<div class="post__content">{{ .Content }}</div>
{{ if .Params.tags }}
{{ if or (.Param "share") (isset $.Params "tags") }}
<footer class="post__footer">
{{ partial "post_tags.html" . }}
{{ partial "post_share.html" . }}