Files
David Karlsson 47172b3700 Upgrade Hugo to 0.169.0 (#26496)
Pin Docker builds and Netlify previews to Hugo 0.169.0. Replace
deprecated `.Params.summary` lookups with `.RawSummary` in the guide
template.

Validation: the full minified debug build passed with
`--panicOnWarning`, path checks, and unused-template checks, with no
deprecation notices. Dockerfile and template formatting checks, Markdown
post-processing tests, rendered summary/redirect checks, and API output
validation passed.
2026-11-02 09:47:38 +01:00

31 lines
1.0 KiB
HTML

{{ partial "breadcrumbs.html" . }}
<h1 data-pagefind-weight="10">{{ .Title | safeHTML }}</h1>
{{- if and (eq .Type "guides") .RawSummary }}
<p class="mt-0 text-lg text-gray-500 dark:text-gray-400">
{{ .RawSummary }}
</p>
{{- end }}
<div class="hidden lg:block">
{{ partialCached "md-dropdown.html" "-" "-" }}
</div>
<div class="block lg:hidden">
{{ partialCached "pagemeta.html" . . }}
<hr />
</div>
{{ partial "api-reference/manual-link.html" . }}
{{ if and .CurrentSection.Params.recipeCatalog (not .IsSection) }}
<p><a href="{{ .CurrentSection.RelPermalink }}">Browse all recipes</a></p>
{{ end }}
{{ .Content }}
{{- if and (eq .Type "guides") (not .IsSection) (ne .CurrentSection .FirstSection) -}}
{{- with .PrevInSection -}}
<div class="not-prose col-start-2 my-4">
<a
href="{{ .Permalink }}"
class="cursor-pointer rounded-sm bg-blue-500 px-4 py-2 text-white hover:bg-blue-400 dark:bg-blue-800 dark:hover:bg-blue-700"
>{{ .Title }} &raquo;</a
>
</div>
{{- end -}}
{{- end -}}