sillon-fictionnel/themes/writeonly/layouts/_default/single.html

23 lines
647 B
HTML

{{ define "main" }}
<main class="container py-5 flex-grow-1">
<div class="row justify-content-center">
<div class="col-12 mw-md mh-100">
<div class="py-4">
<div class="py-2">
<h1 class="display-1 text-center text-uppercase fw-bold text-primary">
{{ .Title }}
</h1>
{{ partial "shared/post-meta" . }}
{{ partial "shared/post-categories" . }}
</div>
<div class="lead text-center py-2">
{{ .Summary }}
</div>
<div class="markdown-content py-2">
{{ .Content }}
</div>
</div>
</div>
</div>
</main>
{{ end }}