Revert "experiment search box"
This reverts commit 0e9507228c
.
experiment search box
This commit is contained in:
parent
5267b4e64b
commit
ae1931e477
7 changed files with 41 additions and 200 deletions
|
@ -1,16 +1,37 @@
|
|||
<!-- Sidebar -->
|
||||
<div class="sidebar">
|
||||
<div class="container {{ with .Site.Params.sidebarSticky }}sidebar-sticky{{ end }}">
|
||||
<div class="sidebar-about">
|
||||
<span class="site__title">
|
||||
<a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
|
||||
</span>
|
||||
{{ with .Site.Params.authorimage }}
|
||||
{{ $strippedSlash := ($.Site.Params.authorimage | replaceRE "^(/)+(.*)" "$2") }}
|
||||
{{ $authorImage := (printf "%s/%s" $.Site.BaseURL $strippedSlash) }}
|
||||
<div class="author-image">
|
||||
<img src="{{$authorImage}}" alt="Author Image" class="img--circle img--headshot element--center">
|
||||
</div>
|
||||
{{ end }}
|
||||
<p class="site__description">
|
||||
{{ with .Site.Params.description }} {{.}} {{end}}
|
||||
</p>
|
||||
</div>
|
||||
<div class="collapsible-menu">
|
||||
<input type="checkbox" id="menuToggle">
|
||||
<label for="menuToggle">{{ .Site.Title }}</label>
|
||||
<div class="menu-content">
|
||||
{{ partial "sidebar/about.html" . }}
|
||||
{{ partial "sidebar/menu.html" . }}
|
||||
{{ partial "sidebar/social.html" . }}
|
||||
{{ partial "sidebar/copyright.html" . }}
|
||||
{{ partial "sidebar/search.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>.
|
||||
<br/>Built with
|
||||
<a href="https://gohugo.io">Hugo</a> ❤️ <a href="https://github.com/htr3n/hyde-hyde">hyde-hyde</a>.
|
||||
{{end}}
|
||||
</p>
|
||||
</div>
|
||||
<div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue