hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit 00d632153aa4b24799b4b3c16f684533cca0aea5
parent f1da5a15a37666ee59350d6600a8c14c1383f5bc
Author: Torbjörn Lönnemark <tobbez@ryara.net>
Date:   Sun,  7 May 2017 03:49:12 +0200

docs: Use single link element for RSS in example

The rel attribute supports specifying a set of values, not only a single
one.

Using two link elements can also cause browsers to show the feed twice
in menus.

Diffstat:
Mdocs/content/templates/rss.md | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/docs/content/templates/rss.md b/docs/content/templates/rss.md
@@ -113,8 +113,7 @@ In your `header.html` template, you can specify your RSS feed in your `<head></h
 
 ~~~html
 {{ 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 }}" />
+  <link href="{{ .RSSLink }}" rel="alternate feed" type="application/rss+xml" title="{{ .Site.Title }}" />
 {{ end }}
 ~~~