Remove page self links in feeds

This commit is contained in:
Will Faught
2025-03-10 22:15:30 -07:00
parent c73cba40eb
commit 1beb62f165
2 changed files with 0 additions and 4 deletions

View File

@@ -156,8 +156,6 @@
<id>{{ . }}</id>
{{ end }}
<link href="{{ $subpage.Permalink }}" hreflang="{{ $subpage.Language.LanguageCode }}" rel="self" type="text/html"/>
{{ range $subpage.OutputFormats }}
{{ $rel := cond (eq .Rel "canonical") "alternate" .Rel }}

View File

@@ -143,8 +143,6 @@
<link>{{ . }}</link>
{{ end }}
<atom:link href="{{ $subpage.Permalink }}" hreflang="{{ $subpage.Language.LanguageCode }}" rel="self" type="text/html"/>
{{ range $subpage.OutputFormats }}
{{ $rel := cond (eq .Rel "canonical") "alternate" .Rel }}