2022-11-13 20:52:45 +01:00
|
|
|
{{ define "main" }}
|
2022-11-23 00:41:16 +01:00
|
|
|
{{ range .Pages.ByTitle }}
|
|
|
|
<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-23 00:41:16 +01:00
|
|
|
<div class="position-sticky" style="top: 0.5rem;">
|
|
|
|
{{- partial "widget/header.html" (dict "title" "About Me") -}}
|
|
|
|
{{- partial "widget/aboutme.html" (dict "avatar" .Site.Params.Avatar "description" .Site.Params.Description) -}}
|
|
|
|
|
|
|
|
{{ with .Site.Params.Social }}
|
|
|
|
{{- partial "widget/header.html" (dict "title" "Contact Me") -}}
|
|
|
|
{{- partial "widget/socials.html" . -}}
|
|
|
|
{{ end }}
|
2022-11-13 20:52:45 +01:00
|
|
|
</div>
|
|
|
|
{{ end }}
|