{{- /* Raw HTML in the repository's Markdown reaches the page as written. This policy keeps it from running anything: a script loads only from the site's own /js/ and /pagefind/ folders, which no repository file is served under, so an inline script, an event handler, a javascript: address or a script a concept names cannot run. Frames, plugins and forms are refused. The preview server adds its own reload script, so the policy is left off there. */ -}} {{- if not hugo.IsServer }} {{- end }} {{- $title := partial "title.html" . }} {{- /* The logo: the repository's own, from .assets/, when site.toml names one, else the Knowledge Trust Ladder logo the site carries. */ -}} {{- $logo := "brand/knowledge-trust-ladder-logo.svg" }} {{- $logoDark := "brand/knowledge-trust-ladder-logo-dark.svg" }} {{- with site.Params.logo }}{{ $logo = strings.TrimPrefix "." . }}{{ $logoDark = strings.TrimPrefix "." (site.Params.logoDark | default .) }}{{ end }} {{- $description := .Description | default .Params.description | default site.Params.description }}