2018-09-23 11:11:35 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
2019-03-23 07:18:03 +00:00
|
|
|
{{- partial "head.html" . -}}
|
2022-05-08 20:40:46 +00:00
|
|
|
<body>
|
|
|
|
<main class="main-home">
|
|
|
|
<div class="h-card">
|
|
|
|
<!-- avator -->
|
|
|
|
<div class="avatar">
|
2022-05-21 04:32:46 +00:00
|
|
|
{{ $profile_image := resources.Get (printf "img/%s" .Site.Params.avatar) }}
|
2022-05-16 19:38:00 +00:00
|
|
|
{{ $profile_width := 250 }}
|
|
|
|
{{ $profile_image := $profile_image.Resize (printf "%dx" $profile_width) }}
|
|
|
|
<img class="avatarMask u-photo" width="{{ $profile_width }}" src="{{ $profile_image.RelPermalink }}" alt="Photo of {{ .Site.Params.Author }}" />
|
2022-05-08 20:40:46 +00:00
|
|
|
<img src="{{ .Site.BaseURL }}/img/avatar-border.svg" />
|
|
|
|
</div>
|
|
|
|
<!-- author -->
|
|
|
|
<h1 class="author title p-name">{{ .Site.Params.Author }}</h1>
|
2022-11-26 04:22:28 +00:00
|
|
|
<a style="display: none" rel="me" class="u-url" href="{{ .Site.BaseURL }}"></a>
|
2022-05-08 20:40:46 +00:00
|
|
|
<!-- description -->
|
|
|
|
<p class="p-note">
|
|
|
|
{{ .Site.Params.description | safeHTML }}
|
|
|
|
</p>
|
|
|
|
<!-- Site Navigation -->
|
|
|
|
<nav class="nav-home">
|
|
|
|
<ul>
|
|
|
|
{{ range .Site.Menus.main }}
|
2019-05-05 15:33:05 +00:00
|
|
|
<li><a href="{{ .URL }}" aria-label="{{ .Identifier }}">{{ .Pre }}<br>{{ .Name }}</a></li>
|
2022-05-08 20:40:46 +00:00
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
<!-- Social Navigation -->
|
|
|
|
<p>You can also find me on:</p>
|
|
|
|
<nav class="nav-home">
|
|
|
|
<ul>
|
|
|
|
{{ range .Site.Menus.profile }}
|
2022-02-15 06:13:11 +00:00
|
|
|
<li><a href="{{ .URL }}" rel="me" aria-label="{{ .Identifier }}">{{ .Pre }}<br>{{ .Name }}</a></li>
|
2022-05-08 20:40:46 +00:00
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
</nav>
|
2019-03-23 07:18:03 +00:00
|
|
|
</div>
|
2022-05-08 20:11:05 +00:00
|
|
|
</main>
|
2022-05-08 20:40:46 +00:00
|
|
|
{{ partial "footer.html" . -}}
|
2022-02-15 06:13:11 +00:00
|
|
|
<script type="application/ld+json">
|
|
|
|
{
|
|
|
|
"@context": "http://schema.org",
|
|
|
|
"@type": "WebSite",
|
|
|
|
"url": "{{ .Permalink }}"
|
|
|
|
}
|
2022-05-08 20:40:46 +00:00
|
|
|
</script>
|
|
|
|
</body>
|
2018-09-23 11:11:35 +00:00
|
|
|
</html>
|