include article footer only if page section is 'post'
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Robert Kaussow 2019-02-13 11:03:26 +01:00
parent 1ee9e5a723
commit 852f8745f5
1 changed files with 2 additions and 0 deletions

View File

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