diff options
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r-- | layouts/partials/header.html | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..c378998 --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,25 @@ +{{ if .Site.Params.useLargeHeaderDesign }} +<div class="header header--large"> + <div class="contain contain--more center"> + <a href="/" class="logo"> + {{ if .Site.Params.useLogo }} + <img src="{{ .Site.Params.logo }}" alt="{{ .Site.Title }}"> + {{ else }} + <h1>{{ .Site.Title }}</h1> + {{ end }} + </a> + </div> +</div> +{{ else }} +<div class="header"> + <div class="contain"> + <a href="/" class="logo logo--small"> + {{ if .Site.Params.useLogo }} + <img src="{{ .Site.Params.logo }}" alt="{{ .Site.Title }}"> + {{ else }} + <h1>{{ .Site.Title }}</h1> + {{ end }} + </a> + </div> +</div> +{{ end }} |