Squashed: use plain pinclude 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
af3198c250
commit
d2570b1877
@ -6,6 +6,8 @@
|
|||||||
<div class="post-content">
|
<div class="post-content">
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</div>
|
</div>
|
||||||
|
{{ if eq .Section "post" }}
|
||||||
{{ partial "article_footer.html" . -}}
|
{{ partial "article_footer.html" . -}}
|
||||||
|
{{ end }}
|
||||||
</article>
|
</article>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Reference in New Issue
Block a user