diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..22db943 --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,67 @@ + + + + {{ if isset .Site.Params "avatarurl" }} + + + + + + {{ end }} + + + + {{ if .IsHome }} + Some Random Website + {{ else if eq .RelPermalink "/404.html" }} + Some Random 404 + {{ else }} + Some Random {{ humanize (index (split .RelPermalink "/") 1) }} + {{ end }} + + + + + {{ range .Site.Menus.main }} + + + {{- .Pre | safeHTML }} {{ .Name }} {{ .Post | safeHTML -}} + + + {{ end }} + + + + + + + + + + + menu + + + + + + + + {{ range .Site.Menus.main }} + + + {{- .Pre | safeHTML }} {{ .Name }} {{ .Post | safeHTML -}} + + + {{ end }} + + theme + + + + + + + + +