diff options
author | Angelo Stavrow <angelo@fogcreek.com> | 2018-08-14 16:20:29 +0300 |
---|---|---|
committer | Angelo Stavrow <angelo@fogcreek.com> | 2018-08-14 16:20:29 +0300 |
commit | 994fd986bab1cf0baa4c7cfde62929e5f2a0772e (patch) | |
tree | 5680b3d479307936138924385fa3fadae29cd4f1 /layouts/partials/header.html | |
parent | 40f121ec52d1edbfff39470dee7a0c3c9ac36061 (diff) |
Initial commit
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r-- | layouts/partials/header.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..003f0f6 --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,21 @@ +<!DOCTYPE html> +<html lang="{{ .Site.LanguageCode }}"> +{{ partial "head.html" . }} +<body> + <div id="sitelogo"> + <a class="glyph" alt="Home" href="{{ .Site.BaseURL }}"><img src="{{ .Site.BaseURL }}/images/site-logo.svg" alt="Site Logo" height="64px" width="64px"></a> + </div> + <header> + {{ partial "pagenav.html" . }} + {{ if not .IsPage }} + <div id="site-header"> + <h1>{{ .Site.Title }}</h1> + {{ with .Site.Params.subtitle }} + <p> + {{ . }} + </p> + {{ end }} + </div> + {{ end }} + </header> + <div id="content">
\ No newline at end of file |