blogamore/layouts/_default/single.html

16 lines
530 B
HTML
Raw Normal View History

2022-11-13 20:52:45 +01:00
{{ define "main" }}
<h1 class="mb-4">{{ .Title }}</h1>
{{ .Content }}
{{ end }}
{{ define "sidebar" }}
<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 }}
</div>
2022-11-13 20:52:45 +01:00
{{ end }}