2018-09-23 07:11:35 -04:00
|
|
|
<!DOCTYPE html>
|
2023-01-20 13:18:32 -05:00
|
|
|
<html lang="en">
|
2019-03-23 03:18:03 -04:00
|
|
|
{{- partial "head.html" . -}}
|
2022-05-08 16:40:46 -04:00
|
|
|
<body>
|
2024-01-01 19:39:16 -05:00
|
|
|
<main class="main-home" style="display: flex; justify-content: space-around; flex-wrap: wrap; max-width: calc(100vw - 10px)">
|
2022-05-08 16:40:46 -04:00
|
|
|
<div class="h-card">
|
|
|
|
<!-- avator -->
|
|
|
|
<div class="avatar">
|
2022-05-21 00:32:46 -04:00
|
|
|
{{ $profile_image := resources.Get (printf "img/%s" .Site.Params.avatar) }}
|
2022-05-16 15:38:00 -04:00
|
|
|
{{ $profile_width := 250 }}
|
2023-09-26 16:30:27 -04:00
|
|
|
{{ $profile_image := $profile_image.Resize (printf "%dx webp q75" $profile_width) }}
|
|
|
|
<img class="avatarMask u-photo" width="{{ $profile_width }}" height="{{ $profile_width }}" src="{{ $profile_image.RelPermalink }}" alt="Photo of {{ .Site.Params.Author }}">
|
2023-01-20 13:18:32 -05:00
|
|
|
<!-- <img src="{{ .Site.BaseURL }}img/avatar-border.svg" alt="Photo of {{ .Site.Params.Author }}"> -->
|
2022-05-08 16:40:46 -04:00
|
|
|
</div>
|
|
|
|
<!-- author -->
|
|
|
|
<h1 class="author title p-name">{{ .Site.Params.Author }}</h1>
|
2022-11-25 23:22:28 -05:00
|
|
|
<a style="display: none" rel="me" class="u-url" href="{{ .Site.BaseURL }}"></a>
|
2022-05-08 16:40:46 -04:00
|
|
|
<!-- description -->
|
|
|
|
<p class="p-note">
|
|
|
|
{{ .Site.Params.description | safeHTML }}
|
|
|
|
</p>
|
|
|
|
<!-- Site Navigation -->
|
|
|
|
<nav class="nav-home">
|
2023-01-03 21:00:27 -05:00
|
|
|
<ul class="space-evenly">
|
2022-05-08 16:40:46 -04:00
|
|
|
{{ range .Site.Menus.main }}
|
2019-05-05 11:33:05 -04:00
|
|
|
<li><a href="{{ .URL }}" aria-label="{{ .Identifier }}">{{ .Pre }}<br>{{ .Name }}</a></li>
|
2022-05-08 16:40:46 -04:00
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
<!-- Social Navigation -->
|
2024-10-29 12:02:03 -04:00
|
|
|
<p class="noprint">You can also find me on:</p>
|
2022-05-08 16:40:46 -04:00
|
|
|
<nav class="nav-home">
|
2023-01-03 21:00:27 -05:00
|
|
|
<ul class="space-evenly">
|
2022-05-08 16:40:46 -04:00
|
|
|
{{ range .Site.Menus.profile }}
|
2022-02-15 01:13:11 -05:00
|
|
|
<li><a href="{{ .URL }}" rel="me" aria-label="{{ .Identifier }}">{{ .Pre }}<br>{{ .Name }}</a></li>
|
2022-05-08 16:40:46 -04:00
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
</nav>
|
2024-01-01 19:39:16 -05:00
|
|
|
</div>
|
2024-03-28 16:24:16 -04:00
|
|
|
<div style="text-align: left; max-width: 750px">
|
2024-01-01 19:39:16 -05:00
|
|
|
|
|
|
|
<h2>Latest Updates</h2>
|
|
|
|
|
|
|
|
{{ $items := (where site.RegularPages "Type" "blog").ByDate }}
|
|
|
|
{{ range last 1 $items }}
|
|
|
|
<p><strong>Blog Post: </strong><a href="{{ .Permalink }}">{{ .Title }}</a></p>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ $items := (where site.RegularPages "Type" "paper").ByDate }}
|
|
|
|
{{ range last 1 $items }}
|
|
|
|
<p><strong>Publication: </strong><a href="{{ .Permalink }}">{{ .Title }}</a></p>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ $items := (where site.RegularPages "Type" "tracks").ByDate }}
|
|
|
|
{{ range last 1 $items }}
|
|
|
|
<p><strong>Recorded Walk: </strong><a href="{{ .Permalink }}">{{ .Title }}</a></p>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ $items := (where site.RegularPages "Type" "observations").ByDate }}
|
|
|
|
{{ range last 1 $items }}
|
|
|
|
{{ $name := "" }}
|
|
|
|
{{ if (ne .Params.taxon.common_name "") }}
|
|
|
|
{{ $name = .Params.taxon.common_name }}
|
|
|
|
{{ else }}
|
|
|
|
{{ $name = .Params.taxon.name }}
|
|
|
|
{{ end }}
|
|
|
|
<p><strong>Nature Observation: </strong><a href="{{ .Permalink }}">{{ title $name }}</a></p>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
|
|
|
|
{{ $items := (where site.RegularPages "Type" "menu").ByDate }}
|
|
|
|
{{ range last 1 $items }}
|
|
|
|
<p><strong>Recipe: </strong><a href="{{ .Permalink }}">{{ .Title }}</a></p>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-03-23 03:18:03 -04:00
|
|
|
</div>
|
2022-05-08 16:11:05 -04:00
|
|
|
</main>
|
2022-05-08 16:40:46 -04:00
|
|
|
{{ partial "footer.html" . -}}
|
2022-02-15 01:13:11 -05:00
|
|
|
<script type="application/ld+json">
|
|
|
|
{
|
|
|
|
"@context": "http://schema.org",
|
|
|
|
"@type": "WebSite",
|
|
|
|
"url": "{{ .Permalink }}"
|
|
|
|
}
|
2022-05-08 16:40:46 -04:00
|
|
|
</script>
|
|
|
|
</body>
|
2018-09-23 07:11:35 -04:00
|
|
|
</html>
|