Skip to content
Permalink
Browse files

fix deprecation warnings without breaking rss

  • Loading branch information...
danielschemmel authored and calintat committed Jun 5, 2019
1 parent 5132962 commit 9ff8afb1a9439ad4d9b646bb2d621cc23d02989d
Showing with 4 additions and 4 deletions.
  1. +4 −4 layouts/partials/header.html
@@ -8,10 +8,10 @@
{{ if .Site.Params.favicon }}
<link rel="icon" href="{{ .Site.Params.favicon | absURL }}">
{{ end }}
{{ partial "css" . }} {{ partial "js" . }} {{ .Hugo.Generator }}
{{ if .RSSLink }}
<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
<link href="{{ .RSSLink }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" />
{{ partial "css" . }} {{ partial "js" . }} {{ hugo.Generator }}
{{ with .OutputFormats.Get "RSS" }}
<link href="{{ .RelPermalink }}" rel="alternate" type="{{ .MediaType.Type }}" title="{{ $.Site.Title }}" />
<link href="{{ .RelPermalink }}" rel="feed" type="{{ .MediaType.Type }}" title="{{ $.Site.Title }}" />
{{ end }}

{{ if .Site.GoogleAnalytics }}

0 comments on commit 9ff8afb

Please sign in to comment.
You can’t perform that action at this time.