mirror of
https://github.com/davegallant/davegallant.github.io.git
synced 2025-08-10 02:22:26 +00:00
port to gitlab.
This commit is contained in:
25
themes/custom/layouts/partials/slideout.html
Normal file
25
themes/custom/layouts/partials/slideout.html
Normal file
@@ -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>
|
Reference in New Issue
Block a user