aboutsummaryrefslogtreecommitdiff
path: root/themes/even/layouts/partials/slideout.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/even/layouts/partials/slideout.html')
-rw-r--r--themes/even/layouts/partials/slideout.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/themes/even/layouts/partials/slideout.html b/themes/even/layouts/partials/slideout.html
new file mode 100644
index 0000000..42ed13e
--- /dev/null
+++ b/themes/even/layouts/partials/slideout.html
@@ -0,0 +1,25 @@
+<div id="mobile-navbar" class="mobile-navbar">
+ <div class="mobile-header-logo">
+ <a href="{{ "/" | relLangURL }}" class="logo">
+ {{- if .Site.Params.logoTitle -}}
+ {{ .Site.Params.logoTitle }}
+ {{- else -}}
+ {{ .Site.Title }}
+ {{- end -}}
+ </a>
+ </div>
+ <div class="mobile-navbar-icon">
+ <span></span>
+ <span></span>
+ <span></span>
+ </div>
+</div>
+<nav id="mobile-menu" class="mobile-menu slideout-menu">
+ <ul class="mobile-menu-list">
+ {{ range .Site.Menus.main -}}
+ <a href="{{ .URL | safeURL }}">
+ <li class="mobile-menu-item">{{ .Name }}</li>
+ </a>
+ {{- end }}
+ </ul>
+</nav> \ No newline at end of file