ref: 65f803e1fa42fc1ca0b9ddac09f61a538b802841
parent: 29fda0e6830cd62667fb2e12627b8b9874bfafdf
author: Bjørn Erik Pedersen <[email protected]>
date: Thu Nov 17 03:18:55 EST 2016
docs: Rename RSSlink to RSSLink The former will be deprecated.
--- a/docs/content/templates/homepage.md
+++ b/docs/content/templates/homepage.md
@@ -60,7 +60,7 @@
<base href="{{ .Site.BaseURL }}">
<title>{{ .Site.Title }}</title>
<link rel="canonical" href="{{ .Permalink }}">
- <link href="{{ .RSSlink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
+ <link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
{{ partial "head_includes.html" . }}
</head>
--- a/docs/content/templates/partials.md
+++ b/docs/content/templates/partials.md
@@ -65,7 +65,7 @@
<base href="{{ .Site.BaseURL }}">
<title> {{ .Title }} : spf13.com </title>
<link rel="canonical" href="{{ .Permalink }}">
- {{ if .RSSlink }}<link href="{{ .RSSlink }}" rel="alternate" type="application/rss+xml" title="{{ .Title }}" />{{ end }}
+ {{ if .RSSLink }}<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Title }}" />{{ end }}
{{ partial "head_includes.html" . }}
</head>
--- a/docs/content/templates/rss.md
+++ b/docs/content/templates/rss.md
@@ -99,15 +99,15 @@
In your `header.html` template, you can specify your RSS feed in your `<head></head>` tag like this:
~~~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 }}" />
+{{ 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 }}
~~~
... with the autodiscovery link specified by the line with `rel="alternate"`.
-The `.RSSlink` will render the appropriate RSS feed URL for the section, whether it's everything, posts in a section, or a taxonomy.
+The `.RSSLink` will render the appropriate RSS feed URL for the section, whether it's everything, posts in a section, or a taxonomy.
**N.b.**, if you reference your RSS link, be sure to specify the mime type with `type="application/rss+xml"`.