14 lines
300 B
HTML
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 }}
|