2018-07-16 03:22:00 +00:00
|
|
|
<!-- Sidebar -->
|
2018-07-23 02:15:56 +00:00
|
|
|
<div class="sidebar">
|
2018-07-29 21:41:49 +00:00
|
|
|
<div class="container {{ with .Site.Params.sidebarSticky }}sidebar-sticky{{ end }}">
|
2018-09-20 06:50:34 +00:00
|
|
|
<div class="sidebar-about">
|
|
|
|
<span class="site__title">
|
2019-11-04 18:50:27 +00:00
|
|
|
<a href="{{ .Site.BaseURL }}">
|
|
|
|
{{ with .Site.Params.logoimage }}
|
|
|
|
{{ $strippedSlash := ($.Site.Params.logoimage | replaceRE "^(/)+(.*)" "$2") }}
|
|
|
|
{{ $logoImage := (printf "%s%s" $.Site.BaseURL $strippedSlash) }}
|
|
|
|
<img src="{{$logoImage}}" alt="Logo Image" class="element--center">
|
|
|
|
{{ else }}
|
|
|
|
{{ .Site.Title }}
|
|
|
|
{{ end }}
|
|
|
|
</a>
|
2018-09-20 06:50:34 +00:00
|
|
|
</span>
|
2018-11-23 20:22:36 +00:00
|
|
|
{{ if and (isset .Site.Params "authorimage") (not (isset .Site.Params.social "gravatar")) }}
|
|
|
|
{{ with .Site.Params.authorimage }}
|
|
|
|
{{ $strippedSlash := ($.Site.Params.authorimage | replaceRE "^(/)+(.*)" "$2") }}
|
2018-12-14 17:05:23 +00:00
|
|
|
{{ $authorImage := (printf "%s%s" $.Site.BaseURL $strippedSlash) }}
|
2018-11-23 20:22:36 +00:00
|
|
|
<div class="author-image">
|
|
|
|
<img src="{{$authorImage}}" alt="Author Image" class="img--circle img--headshot element--center">
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
2018-09-20 06:50:34 +00:00
|
|
|
{{ end }}
|
2018-11-23 20:22:36 +00:00
|
|
|
{{ with .Site.Params.social.gravatar}}
|
2018-11-22 20:37:00 +00:00
|
|
|
<div class="author-image">
|
|
|
|
<img src="https://www.gravatar.com/avatar/{{md5 .}}?s=240&d=mp" class="img--circle img--headshot element--center" alt="gravatar">
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
2018-09-20 06:50:34 +00:00
|
|
|
<p class="site__description">
|
|
|
|
{{ with .Site.Params.description }} {{.}} {{end}}
|
|
|
|
</p>
|
|
|
|
</div>
|
2018-09-18 05:20:12 +00:00
|
|
|
<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>
|
2018-10-05 22:32:47 +00:00
|
|
|
{{ partial "sidebar/copyright.html" . }}
|
2018-06-04 18:31:08 +00:00
|
|
|
</div>
|
2014-05-14 22:57:17 +00:00
|
|
|
</div>
|