4 {{- range .Site.Menus.main }}
5 <a href=
"{{ absURL .URL }}">
6 <summary>{{ .Title }}
</summary>
7 <svg{{- if or ($pg.InSection .Page) (eq .Page $pg) }}
class=
"selected"{{ end }}
>
8 <use xlink:
href=
"{{ relURL `/img/nav.svg` | safeHTML }}#{{ .Title }}"/>
14 {{ cond (not $sp.Params.menu.main.title) $sp.Title $sp.Params.menu.main.title }}
19 {{- $sp := .Site.GetPage
"section" .Section }}
20 {{- $sh := cond (or (not $sp.Params.header) (not (fileExists (printf
"static/%s" $sp.Params.header)))) (cond (or (not .Site.Home.Params.header) (not (fileExists (printf
"static/%s" .Site.Home.Params.header))))
"/img/speedy.png" .Site.Home.Params.header) $sp.Params.header }}
21 {{- $ph := cond (or (not .Params.header) (not (fileExists (printf
"static/%s" .Params.header)))) $sh .Params.header }}
25 {{- if not .Page.Description }}
28 {{ replaceRE
"\n\n" "<br>\n" .Page.Description | safeHTML }}