{{ define "main" }} {{ .Scratch.Set "scope" "list" }} {{ $enableToc := .Params.showTableOfContents | default (site.Params.list.showTableOfContents | default false) }} {{ $showToc := and $enableToc (in .TableOfContents " {{ if .Params.showBreadcrumbs | default (site.Params.list.showBreadcrumbs | default false) }} {{ partial "breadcrumbs.html" . }} {{ end }}

{{ .Title }}

{{ partial "article-meta/list.html" (dict "context" . "scope" "single") }}
{{/* Description (markdown content) */}} {{ $tocMargin := cond $showToc "mt-12" "mt-0" }} {{ $topClass := cond (hasPrefix site.Params.header.layout "fixed") "lg:top-[140px]" "lg:top-10" }}
{{ if $showToc }}
{{ partial "toc.html" . }}
{{ end }}
{{ .Content }}
{{/* No automatic article listing - content is controlled via shortcodes in the markdown */}} {{ end }}