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" />
14 {{- if (.Page.Resources.GetMatch "header.png") }}
15 <img src="header.png"></img>
17 <img src="{{relURL `/img/speedy.png`}}"></img>
21 <header>{{ if .Page.Title }}{{ .Page.Title }}{{ else }} {{ end }}</header>
24 {{- range union (where .Site.Menus.main "Weight" 0).Reverse (where .Site.Menus.main "Weight" "!=" 0) }}
25 {{- if or ($pg.IsMenuCurrent "main" .) ($pg.HasMenuCurrent "main" .) }}
26 <svg class="selected"><use xlink:href="{{ relURL `/img/nav.svg` }}#{{ .Name }}"/></svg>
29 <summary>{{ .Name }}</summary>
30 <svg><use xlink:href="{{ relURL `/img/nav.svg` }}#{{ .Name }}"/></svg>
36 {{- if isset .Page.Params "caption" -}}
37 {{- if (eq (printf "%T" .Page.Params.caption) "string") }}
38 {{- replaceRE "([&<>'])" "$1" .Page.Params.caption -}}
40 {{ replaceRE "([&<>'])" "$1" (index .Page.Params.caption 0) }}
41 {{- range after 1 .Page.Params.caption -}}
43 {{ replaceRE "([&<>'])" "$1" . }}
53 {{ block "main" . }}{{ end }}
56 <p>©{{ .Site.Copyright }}</p>