aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/slideout.html
diff options
context:
space:
mode:
authorolOwOlo <26087907+olOwOlo@users.noreply.github.com>2017-08-27 22:38:42 +0800
committerolOwOlo <26087907+olOwOlo@users.noreply.github.com>2017-08-27 22:38:42 +0800
commit3c6cb7f29631dfcdd954e7cbd5d2370efe7eb827 (patch)
treed374e090981dda28452dbd13400e377b9cc06277 /layouts/partials/slideout.html
🎉 first commit
Diffstat (limited to 'layouts/partials/slideout.html')
-rw-r--r--layouts/partials/slideout.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/layouts/partials/slideout.html b/layouts/partials/slideout.html
new file mode 100644
index 0000000..4ec6344
--- /dev/null
+++ b/layouts/partials/slideout.html
@@ -0,0 +1,19 @@
+<div id="mobile-navbar" class="mobile-navbar">
+ <div class="mobile-header-logo">
+ <a href="/" class="logo">{{ .Site.Title }}</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 }}">
+ <li class="mobile-menu-item">{{ .Name }}</li>
+ </a>
+ {{- end }}
+ </ul>
+</nav> \ No newline at end of file