- 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>
26 lines
950 B
HTML
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>
|