diff options
author | Arvind <roadsidegeek@gmail.com> | 2019-06-19 19:43:41 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-19 19:43:41 +0300 |
commit | 966770a2171eec418fecd356d781f50f82f7bede (patch) | |
tree | 0d9b98282a8b72e25c72196a050c08292b2a1e4e | |
parent | 5906733d0cea0cd9b86e3c3d21b0217695e73cb9 (diff) | |
parent | 6d37508aaca69c282474ff3c7704007531a44407 (diff) |
Merge pull request #7 from patrickderitter/master
Fixed header.html for deprecated .RSSLink
-rw-r--r-- | layouts/partials/header.html | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index b105ff9..ff0c6ec 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -31,12 +31,11 @@ <meta name="author" content="{{ $config.author }}"> <meta name="theme-color" content="#000000"> - {{ 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 }}" /> - {{ end }} - + {{ range .AlternativeOutputFormats -}} + <link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}" /> + {{ end -}} + {{ partial "seo_schema.html" . }} </head> -<body class="clearfix">
\ No newline at end of file +<body class="clearfix"> |