Files
docker-docs/layouts/learning-paths/single.html
T
David Karlsson 4443d3640a hugo: update layout architecture
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-09-16 14:43:05 +02:00

19 lines
671 B
HTML

{{ define "main" }}
<article class="prose max-w-none dark:prose-invert">
{{ partial "breadcrumbs.html" . }}
{{- $img := resources.Get .Params.image }}
<img src="{{ $img.Permalink }}" alt="{{ .Title }}" class="w-full rounded-lg object-cover h-96">
<h1 class="scroll-mt-36">{{ .Title }}</h1>
<div class="text-lg">{{ .Summary }}</div>
{{ partial "components/guide-summary.html" . }}
{{ .Content }}
<hr>
<div class="text-xl">More learning paths</div>
{{ partial "post-links.html" (where .CurrentSection.Pages "Permalink" "ne" page.Permalink) }}
</article>
{{ end }}
{{ define "left" }}
{{- partial "sidebar.html" . }}
{{ end }}