Scroll to top {{ $icon := resources.Get "image/line-awesome/fa-angle-up.svg" | resources.Minify }} {{ replace $icon.Content "
{{/* Checkbox Hack for pure CSS Hamburger menu https://codepen.io/erikterwan/pen/EVzeRP */}} {{ $hamburger := resources.Get "image/hamburger.svg" | resources.Minify }} {{ $hamburger.Content | safeHTML }} {{/* End Checkbox hack code. Uses the parallel
    */}} {{- if (fileExists "assets/image/logo.svg") }} {{ (resources.Get "image/logo.svg").Content | safeHTML }} {{- else if (fileExists "assets/image/logo.png") -}} {{- else -}} {{ .Site.Title }} {{- end -}} Logo
      {{ $currentPage := . }} {{/* Finding the best category to pin the current page to. */}} {{ $fallback := "home" }} {{ range .Site.Menus.main }} {{ if or ($currentPage.HasMenuCurrent "top" .) ($currentPage.IsMenuCurrent "top" .) }} {{$fallback = .Name}} {{else if eq $currentPage.Section .Name}} {{$fallback = .Name}} {{end}} {{ end}} {{/* Current Category is now found. We just need to fit inside it */}} {{ range .Site.Menus.main }}
    • {{ .Name | upper }} {{ if .HasChildren }}
        {{ range .Children }}
      • {{ .Name | upper }}
      • {{ end }}
      {{ end }}
    • {{ end }}
    {{- partialCached "util/icon" (dict "key" "search" "size" 20) "search-20" -}}
    {{with .Site.Params.github }} {{ $iconSVG := resources.Get "image/octocat.svg" | resources.Minify }} {{ $iconSVG.Content | safeHTML }} {{ end }} {{if .Site.Params.colorPickerEnabled}}

    Select Theme Color

    {{- range .Site.Params.colorVariations -}}
    {{- end -}}
    Custom Color
    Dark:
    {{- partialCached "util/icon" (dict "key" "gear" "size" 20 "class" "picker" ) "gear-20" -}}
    {{ end }}
    {{/* https://css-tricks.com/markup-for-breadcrumbs/ https://jsonld.com/breadcrumb/ {{ $url := replace .Permalink ( printf "%s" .Site.BaseURL) "" }} {{ $.Scratch.Add "path" / }}
    home {{ range $index, $element := split $url "/" }} {{ $.Scratch.Add "path" $element }} {{ if ne $element "" }} {{ . }} {{ $.Scratch.Add "path" "/" }} {{ end }} {{ end }}
    {{ $.Scratch.delete "path" }} */}}