Fix post__footer conditional statement
This commit is contained in:
parent
6b36c1ca0a
commit
07fe4c777c
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
||||||
<h1 class="post__title">{{ .Title }}</h1>
|
<h1 class="post__title">{{ .Title }}</h1>
|
||||||
{{- partial "post_toc.html" . }}
|
{{- partial "post_toc.html" . }}
|
||||||
<div class="post__content">{{ .Content }}</div>
|
<div class="post__content">{{ .Content }}</div>
|
||||||
{{ if .Params.tags }}
|
{{ if or (.Param "share") (isset $.Params "tags") }}
|
||||||
<footer class="post__footer">
|
<footer class="post__footer">
|
||||||
{{ partial "post_tags.html" . }}
|
{{ partial "post_tags.html" . }}
|
||||||
{{ partial "post_share.html" . }}
|
{{ partial "post_share.html" . }}
|
||||||
|
|
Loading…
Reference in a new issue