This repository has been archived on 2023-12-07. You can view files and clone it, but cannot push or open issues or pull requests.
geeklabor_legacy/themes/geeklab/layouts/_default/single.html
Robert Kaussow d2570b1877
All checks were successful
continuous-integration/drone/push Build is passing
Squashed: use plain pinclude article footer only if page section is 'post'
2019-02-13 11:06:39 +01:00

14 lines
300 B
HTML

{{ define "main" }}
<article class="post">
<header class="post-header">
<h1 class="post-header__title">{{ .Title }}</h1>
</header>
<div class="post-content">
{{ .Content }}
</div>
{{ if eq .Section "post" }}
{{ partial "article_footer.html" . -}}
{{ end }}
</article>
{{ end }}