Compat with latest hugo releases

This commit is contained in:
nemunaire 2023-12-01 18:54:39 +01:00
commit d3f5ed2d43
2 changed files with 3 additions and 3 deletions

View file

@ -49,7 +49,7 @@
<title>{{ if .Title }}{{ .Title }} - {{ .Site.Params.SEOTitle }}{{ else }}{{ .Site.Params.SEOTitle }}{{ end }}</title>
<link rel="canonical" href="{{ .URL | relURL }}">
<link rel="canonical" href="{{ .RelPermalink }}">
{{ with .OutputFormats.Get "rss" -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}