homepage/themes/custom/layouts/_default/single.html

24 lines
643 B
HTML
Raw Normal View History

2021-11-01 12:16:20 +01:00
{{ define "main" }}
<section class="section">
<div class="container">
<div class="columns">
<div class="column is-centered-tablet-portrait">
<h1 class="title section-title">{{ .Title }}</h1>
<h5 class="subtitle is-5 is-muted">{{ .Params.Subtitle }}</h5>
<div class="divider"></div>
</div>
</div>
{{ if (.Params.toc) }}
<div class="box">
<div class="content is-size-6">
<h5>{{ i18n "table_of_contents" }}</h5>
{{ .TableOfContents }}
</div>
</div>
{{ end }}
<div class="content is-size-5">
{{ .Content }}
</div>
</div>
</section>
{{ end }}