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

27 lines
698 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>
2022-04-15 18:25:06 +02:00
{{ if (.Params.Subtitle) }}
2021-11-01 12:16:20 +01:00
<h5 class="subtitle is-5 is-muted">{{ .Params.Subtitle }}</h5>
2022-04-15 18:25:06 +02:00
{{ end }}
2021-11-01 12:16:20 +01:00
<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>
2022-04-15 18:25:06 +02:00
{{ end }}