blogamore/layouts/_default/single.html

16 lines
511 B
HTML
Raw Permalink Normal View History

2022-11-13 20:52:45 +01:00
{{ define "main" }}
<h1 class="mb-4">{{ .Title }}</h1>
{{ .Content }}
{{ end }}
{{ define "sidebar" }}
2022-11-28 19:45:15 +01:00
<div class="position-sticky">
{{- partial "widget/header.html" (dict "title" "About Me") -}}
{{- partial "widget/aboutme.html" (dict "avatar" .Site.Author.avatar "description" .Site.Author.description) -}}
{{- with .Site.Author.social }}
{{- partial "widget/header.html" (dict "title" "Contact Me") -}}
{{- partial "widget/socials.html" . -}}
{{ end -}}
</div>
2022-11-13 20:52:45 +01:00
{{ end }}