2018-08-27 22:33:41 +03:00
|
|
|
<aside class="sidebar">
|
2020-02-10 20:38:11 +02:00
|
|
|
<div class="container">
|
2014-05-15 01:57:17 +03:00
|
|
|
<div class="sidebar-about">
|
2020-02-10 20:38:11 +02:00
|
|
|
{{ with .Site.Params.gravatar }}
|
|
|
|
<div class="author-image">
|
2021-02-25 22:56:48 +02:00
|
|
|
<a href="{{ $.Site.BaseURL }}">
|
|
|
|
<img src="https://www.gravatar.com/avatar/{{md5 .}}?s=200&d=mp" class="img-circle img-headshot center" alt="Gravatar">
|
|
|
|
</a>
|
2020-02-10 20:38:11 +02:00
|
|
|
</div>
|
|
|
|
{{ else }}
|
|
|
|
{{ with .Site.Params.profilePicture }}
|
|
|
|
<div class="author-image">
|
2021-02-25 22:56:48 +02:00
|
|
|
<a href="{{ $.Site.BaseURL }}">
|
|
|
|
<img src="{{ . | relURL }}" class="img-circle img-headshot center" alt="Profile Picture">
|
|
|
|
</a>
|
2020-02-10 20:38:11 +02:00
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
<h1>{{ .Site.Title }}</h1>
|
|
|
|
|
|
|
|
{{ with .Site.Params.description }}
|
|
|
|
<p class="lead">{{.}}</p>
|
|
|
|
{{end}}
|
2014-05-15 01:57:17 +03:00
|
|
|
</div>
|
2014-04-27 01:25:13 +03:00
|
|
|
|
2018-08-27 22:33:41 +03:00
|
|
|
<nav>
|
|
|
|
<ul class="sidebar-nav">
|
2020-02-10 20:38:11 +02:00
|
|
|
<li>
|
2022-04-09 17:23:29 +03:00
|
|
|
<a href="{{ .Site.BaseURL }}">Úvod</a>
|
2020-02-10 20:38:11 +02:00
|
|
|
</li>
|
2018-08-27 22:33:41 +03:00
|
|
|
{{ range .Site.Menus.main -}}
|
2020-02-10 20:38:11 +02:00
|
|
|
<li>
|
2020-06-15 21:00:52 +03:00
|
|
|
<a href="{{ .URL }}">{{ .Name }}</a>
|
2020-02-10 20:38:11 +02:00
|
|
|
</li>
|
2018-08-27 22:33:41 +03:00
|
|
|
{{- end }}
|
|
|
|
</ul>
|
|
|
|
</nav>
|
2014-04-27 01:25:13 +03:00
|
|
|
|
2020-02-10 20:38:11 +02:00
|
|
|
<section class="social-icons">
|
|
|
|
{{ range $item := .Site.Params.socialIcons }}
|
2020-06-15 20:52:15 +03:00
|
|
|
<a href="{{ $item.url }}" rel="me" title="{{ $item.title }}" target="_blank">
|
2020-02-10 20:38:11 +02:00
|
|
|
<i class="fab {{ $item.icon }}" aria-hidden="true"></i>
|
|
|
|
</a>
|
|
|
|
{{ end }}
|
|
|
|
</section>
|
2014-05-15 01:57:17 +03:00
|
|
|
</div>
|
2018-08-27 22:33:41 +03:00
|
|
|
</aside>
|