4 <title>{{ .Site.Title }}{{ if .Page.Title }} :: {{ .Page.Title }}{{ end }}
</title>
5 <link rel=
"stylesheet" href=
"{{relURL `/css/main.css`}}">
6 <script src=
"{{relURL `/js/main.js`}}"></script>
7 <meta charset=
"utf-8" />
8 <meta name=
"viewport" content=
"width=device-width, initial-scale=1, maximum-scale=1" />
13 {{- $sp := .Site.GetPage
"section" .Section }}
14 {{- $ph := .Page.Resources.GetMatch
"header.png" -}}
15 {{- $ph := cond (not $ph) ($sp.Resources.GetMatch
"header.png") $ph }}
16 {{- $ph := cond (not $ph) (relURL
"/img/speedy.png") $ph.RelPermalink }}
19 {{ $caption := cond (not .Page.Params.caption) (cond (not $sp.Title) .Site.Title $sp.Title) .Page.Params.Caption }}
20 {{- if (eq (printf
"%T" $caption)
"string") }}
21 {{- .Page.Params.caption -}}
23 {{- index .Page.Params.caption
0 }}
24 {{- if (gt (len .Page.Params.caption)
1) }}
25 {{- range after
1 .Page.Params.caption -}}
36 {{- range union (where .Site.Menus.main
"Weight" 0).Reverse (where .Site.Menus.main
"Weight" "!=" 0) }}
38 <summary>{{ .Name }}
</summary>
39 <svg{{- if or ($pg.InSection .Page) (eq .Page $sp) }}
class=
"selected"{{ end }}
>
40 <use xlink:
href=
"{{ relURL `/img/nav.svg` }}#{{ .Name }}"/>
46 {{ cond (not .Page.Title) .Page.Name .Page.Title }}
50 {{ block
"main" . }}{{ end }}
53 <p>©{{ .Site.Copyright }}
</p>