diff options
author | Julio Capote <jcapote@gmail.com> | 2018-11-06 02:49:16 +0000 |
---|---|---|
committer | Julio Capote <jcapote@gmail.com> | 2018-11-06 02:49:16 +0000 |
commit | a62a3e7755579d93ce3a87243dd277575930fffe (patch) | |
tree | 6d074f7294c5b7a45bed7ac229a6802830da2a04 /themes/even/layouts/partials/slideout.html | |
download | capotej.com-a62a3e7755579d93ce3a87243dd277575930fffe.tar.gz |
init
Diffstat (limited to 'themes/even/layouts/partials/slideout.html')
-rw-r--r-- | themes/even/layouts/partials/slideout.html | 25 |
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 |