26 lines
698 B
HTML
26 lines
698 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>
|
|
{{ if (.Params.Subtitle) }}
|
|
<h5 class="subtitle is-5 is-muted">{{ .Params.Subtitle }}</h5>
|
|
{{ end }}
|
|
<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 }}
|