Squashed: use plain pinclude 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:06:39 +01:00
parent af3198c250
commit d2570b1877

View File

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