include article footer only if page section is 'post'
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
1ee9e5a723
commit
852f8745f5
@ -6,6 +6,8 @@
|
||||
<div class="post-content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
{{ if eq .Section "post" }}
|
||||
{{ partial "article_footer.html" . -}}
|
||||
{{ end }}
|
||||
</article>
|
||||
{{ end }}
|
||||
|
Reference in New Issue
Block a user