Remove page self links in feeds
This commit is contained in:
@@ -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 }}
|
||||
|
||||
|
@@ -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 }}
|
||||
|
||||
|
Reference in New Issue
Block a user