aboutsummaryrefslogtreecommitdiff
path: root/themes/terrassa/layouts/partials/header.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/terrassa/layouts/partials/header.html')
-rw-r--r--themes/terrassa/layouts/partials/header.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/themes/terrassa/layouts/partials/header.html b/themes/terrassa/layouts/partials/header.html
new file mode 100644
index 0000000..73142ae
--- /dev/null
+++ b/themes/terrassa/layouts/partials/header.html
@@ -0,0 +1,14 @@
+<header class="header">
+ <div class="header__title">
+ <a href="{{ $.Site.BaseURL }}" class="header__title__link" alt="Home">
+ {{ if $.Site.Params.logo }}
+ <img src="{{ $.Site.BaseURL }}{{ $.Site.Params.logo }}" class="header__title__logo" alt="{{ $.Site.Title }}">
+ {{ else }}
+ {{ $.Site.Title }}
+ {{ end }}
+ </a>
+ </div>
+
+ {{ partial "menu.html" . }}
+ {{ partial "hamburger-menu.html" . }}
+</header>