{{ $id := .Id }} {{ $href := .Href }} {{ with .Icon }} {{ safeHTML (readFile (print (partial "function-paths.html" "static") "/icons/feather/" . ".svg")) }} {{ else }} {{ safeHTML (readFile (print (partial "function-paths.html" "static") "/icons/feather/arrow-up.svg")) }} {{ end }} {{ with .IconLabel }} {{ . }} {{ else }} Top {{ end }} {{ with .Title }} {{ . }} {{ end }} {{ with .Subtitle }} {{ . }} {{ end }} {{ if .Context.Site.Menus.main }} {{ range .Context.Site.Menus.main }} {{ with .Identifier }} {{ $icon := print (partial "function-paths.html" "static") "/icons/" . ".svg" }} {{ safeHTML (readFile $icon) }} {{ end }} {{ delimit (first 1 (split .Name " ")) " " }} {{ end }} {{ end }} {{ safeHTML (readFile (print (partial "function-paths.html" "static") "/icons/feather/search.svg")) }} Search