SEO
Deploy Hugo Site / deploy (push) Canceled after 0s

This commit is contained in:
lucashahmann committed 2026-10-30 16:45:29 +01:00
1 parent 36a73f6b63
commit a07b8be38a
8 files changed
+93 -2

No files matched your search

+1
View File
@@ -23,6 +23,7 @@
<link rel="preload" href="/fonts/archivo-latin-400-normal.woff2" as="font" type="font/woff2" crossorigin>
{{ $css := resources.Get "css/main.css" | minify | fingerprint }}
<link rel="stylesheet" href="{{ $css.RelPermalink }}" integrity="{{ $css.Data.Integrity }}">
{{ partial "schema.html" . }}
</head>
<body class="{{ if .IsHome }}is-home{{ end }}">
<a class="skip-link" href="#inhalt">Zum Inhalt springen</a>
+18
View File
@@ -0,0 +1,18 @@
{{- /*
Eigene Sitemap: Die Einzelseiten unter /shows/ sind noindex-Weiterleitungen
auf /shows/ und gehören nicht hinein. lastmod in der Zukunft (kommt von
kommenden Shows) wird weggelassen.
*/ -}}
{{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{{- range .Pages }}
{{- if and .Permalink (not (and (eq .Section "shows") (eq .Kind "page"))) }}
<url>
<loc>{{ .Permalink }}</loc>
{{- if and (not .Lastmod.IsZero) (le .Lastmod now) }}
<lastmod>{{ safeHTML (.Lastmod.Format "2006-01-02T15:04:05-07:00") }}</lastmod>
{{- end }}
</url>
{{- end }}
{{- end }}
</urlset>