24 lines
643 B
HTML
24 lines
643 B
HTML
|
{{ 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 }}
|