Remove page self links in feeds
This commit is contained in:
@@ -156,8 +156,6 @@
|
|||||||
<id>{{ . }}</id>
|
<id>{{ . }}</id>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<link href="{{ $subpage.Permalink }}" hreflang="{{ $subpage.Language.LanguageCode }}" rel="self" type="text/html"/>
|
|
||||||
|
|
||||||
{{ range $subpage.OutputFormats }}
|
{{ range $subpage.OutputFormats }}
|
||||||
{{ $rel := cond (eq .Rel "canonical") "alternate" .Rel }}
|
{{ $rel := cond (eq .Rel "canonical") "alternate" .Rel }}
|
||||||
|
|
||||||
|
@@ -143,8 +143,6 @@
|
|||||||
<link>{{ . }}</link>
|
<link>{{ . }}</link>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<atom:link href="{{ $subpage.Permalink }}" hreflang="{{ $subpage.Language.LanguageCode }}" rel="self" type="text/html"/>
|
|
||||||
|
|
||||||
{{ range $subpage.OutputFormats }}
|
{{ range $subpage.OutputFormats }}
|
||||||
{{ $rel := cond (eq .Rel "canonical") "alternate" .Rel }}
|
{{ $rel := cond (eq .Rel "canonical") "alternate" .Rel }}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user