You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
541 B
HTML
20 lines
541 B
HTML
{{ $page := . }}
|
|
|
|
{{ $first := templates.Exists "partials/paige/header-first.html" }}
|
|
{{ $last := templates.Exists "partials/paige/header-last.html" }}
|
|
{{ $menu := site.Menus.main }}
|
|
|
|
{{ if or $first $last $menu }}
|
|
<header>
|
|
{{ if $first }}
|
|
{{ partial "paige/header-first.html" $page }}
|
|
{{ end }}
|
|
{{ if $menu }}
|
|
{{ partial "paige/menu.html" $page }}
|
|
{{ end }}
|
|
{{ if $last }}
|
|
{{ partial "paige/header-last.html" $page }}
|
|
{{ end }}
|
|
</header>
|
|
{{ end }}
|