Files
davidandClaude Opus 5.5 ea86f3ccd0 Fix RSS feed metadata, add feed links, fix Hugo deprecations
- Set baseURL and site title so feed links and titles are correct
- Add rel=alternate RSS link to page head for feed discovery
- Add "Subscribe via RSS" link to footer
- Rename home menu feed link to "Subscribe via RSS (XML feed)"
- Replace deprecated .Site.LanguageCode with .Site.Language.Locale
- Replace deprecated .Site.Data with hugo.Data

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 07:29:44 -07:00

26 lines
950 B
HTML

<!DOCTYPE html>
<html lang="{{ $.Site.Language.Locale }}">
{{- partial "head.html" . -}}
<body a="{{ $.Site.Params.theme_config.appearance | default "auto" }}">
<main class="page-content" aria-label="Content">
<div class="w">
<div class="post-meta">
{{ partial "back_link.html" .}}
<p>
<time datetime="{{ .Date }}">
{{ .Date | time.Format site.Params.theme_config.date_format }}
</time>
</p>
</div>
{{- block "main" . }}{{- end }}
</div>
</main>
</body>
{{- if .Params.custom_js -}}
{{- range .Params.custom_js -}}
{{ $js := resources.Get (print "js/" . ".js") }}
<script type="text/javascript" src="{{ $js.RelPermalink }}"></script>
{{- end -}}
{{- end -}}
</html>