Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/s4n7h0/hugo-theme-timeline.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r--layouts/partials/header.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
new file mode 100644
index 0000000..381909c
--- /dev/null
+++ b/layouts/partials/header.html
@@ -0,0 +1,18 @@
+<header class="header">
+ <span class="header__inner">
+ {{ partial "logo.html" . }}
+
+ <span class="header__right">
+ {{ if len .Site.Menus }}
+ {{ partial "menu.html" . }}
+ <span class="menu-trigger">
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
+ <path d="M0 0h24v24H0z" fill="none"/>
+ <path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/>
+ </svg>
+ </span>
+ {{ end }}
+ <span class="theme-toggle unselectable">{{ partial "theme-icon.html" . }}</span>
+ </span>
+ </span>
+</header>