Fix incompatibility with new hugo version

This commit is contained in:
2024-11-22 14:45:45 +01:00
parent 5dcc67d31b
commit 189a933839
3 changed files with 5 additions and 5 deletions

View File

@@ -26,10 +26,10 @@
<!-- Modify the custom.css file inside static > css to use vanilla css -->
<!-- <link type="text/css" rel="stylesheet" href="{{ "/" | relURL }}css/custom.css"> -->
{{ with .OutputFormats.Get "RSS" }}
{{ with site.Home.OutputFormats.Get "RSS" }}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end }}
{{- if not .Site.IsServer -}}
{{- if not hugo.IsServer -}}
{{ template "_internal/google_analytics.html" . }}
{{- end -}}
</head>