include article footer only if page section is 'post'
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2019-02-13 11:03:26 +01:00
parent 1ee9e5a723
commit 852f8745f5

View File

@ -6,6 +6,8 @@
<div class="post-content">
{{ .Content }}
</div>
{{ if eq .Section "post" }}
{{ partial "article_footer.html" . -}}
{{ end }}
</article>
{{ end }}