2022-11-13 20:52:45 +01:00
|
|
|
{{ define "main" }}
|
2023-03-23 20:35:49 +01:00
|
|
|
{{ range where .Pages.ByTitle "Params.hide" "!=" true }}
|
2022-11-23 00:41:16 +01:00
|
|
|
<article class="border-bottom">
|
|
|
|
<h1 class="mb-3">
|
|
|
|
<a href="{{ .RelPermalink | relURL }}">{{ .Title }}</a>
|
|
|
|
</h1>
|
|
|
|
<p>{{ .Description }}</p>
|
|
|
|
</article>
|
|
|
|
{{ end }}
|
2022-11-13 20:52:45 +01:00
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ define "sidebar" }}
|
2022-11-28 19:45:15 +01:00
|
|
|
<div class="position-sticky">
|
2022-11-23 00:41:16 +01:00
|
|
|
{{- partial "widget/header.html" (dict "title" "About Me") -}}
|
2023-01-08 14:52:50 +01:00
|
|
|
{{- partial "widget/aboutme.html" (dict "avatar" .Site.Author.avatar "description" .Site.Author.description) -}}
|
2022-11-23 00:41:16 +01:00
|
|
|
|
2023-01-08 14:52:50 +01:00
|
|
|
{{ with .Site.Author.social }}
|
2022-11-23 00:41:16 +01:00
|
|
|
{{- partial "widget/header.html" (dict "title" "Contact Me") -}}
|
|
|
|
{{- partial "widget/socials.html" . -}}
|
|
|
|
{{ end }}
|
2022-11-13 20:52:45 +01:00
|
|
|
</div>
|
|
|
|
{{ end }}
|