Fix self links to alternate

This commit is contained in:
Will Faught
2025-03-10 00:26:09 -07:00
parent 76b158fba4
commit 8071471400
2 changed files with 2 additions and 2 deletions

View File

@@ -65,7 +65,7 @@
{{ end }}
{{ range $page.OutputFormats }}
{{ $rel := cond (eq .Rel "canonical") "self" .Rel }}
{{ $rel := cond (eq .Rel "canonical") "alternate" .Rel }}
{{ $valid := in (slice "alternate" "enclosure" "related" "self" "via") $rel }}