From: Bjørn Erik Pedersen Date: Thu, 17 Nov 2016 07:18:55 +0000 (+0100) Subject: docs: Rename RSSlink to RSSLink X-Git-Tag: v0.18~127 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=65f803e1;p=brevno-suite%2Fhugo docs: Rename RSSlink to RSSLink The former will be deprecated. --- diff --git a/docs/content/templates/homepage.md b/docs/content/templates/homepage.md index 81c5eb59..21c832c5 100644 --- a/docs/content/templates/homepage.md +++ b/docs/content/templates/homepage.md @@ -60,7 +60,7 @@ It makes use of [partial templates](/templates/partials/) and uses a similar app {{ .Site.Title }} - + {{ partial "head_includes.html" . }} diff --git a/docs/content/templates/partials.md b/docs/content/templates/partials.md index 22b5f493..77cab478 100644 --- a/docs/content/templates/partials.md +++ b/docs/content/templates/partials.md @@ -65,7 +65,7 @@ This header template is used for [spf13.com](http://spf13.com/): {{ .Title }} : spf13.com - {{ if .RSSlink }}{{ end }} + {{ if .RSSLink }}{{ end }} {{ partial "head_includes.html" . }} diff --git a/docs/content/templates/rss.md b/docs/content/templates/rss.md index 70c3c770..e7bec814 100644 --- a/docs/content/templates/rss.md +++ b/docs/content/templates/rss.md @@ -99,15 +99,15 @@ This is the default RSS template that ships with Hugo. It adheres to the [RSS 2. In your `header.html` template, you can specify your RSS feed in your `` tag like this: ~~~html -{{ if .RSSlink }} - - +{{ if .RSSLink }} + + {{ 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"`.