blob: 5ce773f66f53af5e484b49f54628e559aeaae8b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
<aside class="sidebar">
<div class="container">
<div class="sidebar-about">
{{ with .Site.Params.gravatar }}
<div class="author-image">
<img src="https://www.gravatar.com/avatar/{{md5 .}}?s=200&d=mp" class="img-circle img-headshot center" alt="Gravatar">
</div>
{{ else }}
{{ with .Site.Params.profilePicture }}
<div class="author-image">
<img src="{{ $.Site.BaseURL }}{{ . }}" class="img-circle img-headshot center" alt="Profile Picture">
</div>
{{ end }}
{{ end }}
<h1>{{ .Site.Title }}</h1>
{{ with .Site.Params.description }}
<p class="lead">{{.}}</p>
{{end}}
</div>
<nav>
<ul class="sidebar-nav">
<li>
<a href="{{ .Site.BaseURL }}">Home</a>
</li>
{{ range .Site.Menus.main -}}
<li>
<a href="{{ .URL }}"> {{ .Name }} </a>
</li>
{{- end }}
</ul>
</nav>
<section class="social-icons">
{{ range $item := .Site.Params.socialIcons }}
<a href="{{ $item.url }}" rel="me" title="{{ $item.title }}" target="_blank">
<i class="fab {{ $item.icon }}" aria-hidden="true"></i>
</a>
{{ end }}
</section>
</div>
</aside>
|