{{ partial "utils/icon.html" (dict "name" "hugo" "attributes" "height=20") }} {{ .Site.Title }} {{- $currentPage := . -}} {{- range .Site.Menus.main -}} {{- if eq .Name "Search" -}} {{ partial "search.html" (dict "params" .Params) }} {{- else if .Params.icon -}} {{ partial "utils/icon.html" (dict "name" .Params.icon "attributes" "height=24") }} {{ .Name }} {{ else }} {{ .Name }} {{ end }} {{ end }}