summaryrefslogtreecommitdiff
path: root/themes/conspiracy/layouts/_default/single.html
blob: 231daf7d70287308e80e13a75b2902d474b3e1be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{{- define "main" }}
    {{- if not .IsHome | and .Title }}
    <header>
        <h1>{{ .Title }}</h1>
        {{- partial "breadcrumbs.html" . }}
        {{- if .Params.Date }} <strong>{{ .Date.Format "2006-01-02" }}</strong>{{- end }}
    </header>
    {{- end }}
    <main>
        {{- if .Params.external_links }}
        <div class="links">
            {{- range .Params.external_links }}
            <a href="{{ .url | absURL }}">{{ .name }}</a>
            {{- end }}
        </div>
        {{- end }}
        {{ .Content }}
    </main>
{{- end }}