experiments collasible menu
This commit is contained in:
parent
2d9a7adad5
commit
9b6e2d3940
4 changed files with 92 additions and 5 deletions
|
@ -16,10 +16,14 @@
|
|||
{{ with .Site.Params.description }} {{.}} {{end}}
|
||||
</p>
|
||||
</div>
|
||||
{{ partial "sidebar/menu.html" . }}
|
||||
<p>
|
||||
{{ partial "sidebar/social.html" . }}
|
||||
</p>
|
||||
<div class="collapsible-menu">
|
||||
<input type="checkbox" id="menuToggle">
|
||||
<label for="menuToggle">{{ .Site.Title }}</label>
|
||||
<div class="menu-content">
|
||||
{{ partial "sidebar/menu.html" . }}
|
||||
{{ partial "sidebar/social.html" . }}
|
||||
</div>
|
||||
</div>
|
||||
<p class="copyright">
|
||||
{{ with .Site.Params.copyright }}{{.|safeHTML}}{{ else }}© {{ now.Format "2006"}} {{.Site.Params.author}}.
|
||||
<a href="https://creativecommons.org/licenses/by-sa/4.0">Some Rights Reserved</a>.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue