{{ define "main" }}
{{ if .Params.banner }} {{ partial "components/logo" (dict "class" "block round-sticker w-14 h-14 lg:w-28 lg:h-28 right-2 lg:-right-20 top-2 lg:top-4 absolute rotate-[3.0deg]" "imageClass" "block w-full" ) }} {{ else }} {{ partial "components/logo" (dict "class" "block w-[10rem]" "imageClass" "block w-full" ) }} {{ end }} {{ partial "posts/banner" . }}

{{ .Title }} {{ with .Params.subtitle }} {{ . }} {{ end }}

{{ partial "components/date" . }} {{ if or .Params.categories .Params.tags }}ยท{{ end }} {{ partial "components/category-pill" . }} {{ partial "components/tags" . }}
{{ partial "posts/toc" . }}
{{ .Content }}
{{ partial "posts/endnotes" . }}
{{ partial "posts/action-menu.html" . }} {{ partial "posts/now-read-this.html" . }} {{ partial "components/back-to-top.html" . }}
{{ end }}