blob: bd774d71cf0b583062c4bc57c5ca2bfb05ab8fbf (
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
|
<header {{ if .IsHome }}class="home-page-header" {{ end }}>
{{ if .IsHome }}
<div class="header-image-container">
<div class="header-image">
<img
src="{{ .Site.Params.about.profileImage | relURL }}"
alt="profile image of {{ .Site.Params.author }}"
/>
</div>
</div>
{{ end }}
<div class="header-info">
{{ if not .IsHome }}
<a class="home-icon" href="{{ `/` | relURL }}" aria-label="home page">
{{ partial "homeIcon" . }}
</a>
{{ else }}
<h1 class="site-title">{{- .Site.Title -}}</h1>
{{ end }} {{ partial "title" . }} {{ if .IsHome }}
<div class="social-info">
{{- range $key, $val := .Site.Params.social -}}
<a class="social-link" href="{{ $val }}" aria-label="{{ $key }}">
{{- $key -}}
</a>
{{- end -}}
</div>
{{ end }}
</div>
</header>
|