blob: 5abab69e189958edc00a2c26b8349de7fed9da26 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{{- define "title" -}}
{{.Title}}
{{- end -}}
{{- define "main" -}}
<div class='container'>
<div class='section is-small'>
<h1 class='title' title='{{.Title}}' aria-label='{{.Title}}'>
{{- .Title -}}
</h1>
{{- if .Date -}}
<h2 class='subtitle' title='article date' aria-label='article date'>
{{- .Date.Format "January 2, 2006" -}}
</h2>
{{- end -}}
<div class='content'>
{{- if .Params.toc -}}
<h2
class='subtitle'
title='Table of Contents'
aria-label='Table of Contents'
>
Table of Contents
</h2>
{{- .TableOfContents -}}
{{- end -}}
{{- .Content -}}
</div><!-- content -->
</div><!-- section -->
</div><!-- container -->
{{- end -}}
|