diff options
author | Josh Johnson <jnjosh@jnjosh.com> | 2018-02-03 20:08:36 +0300 |
---|---|---|
committer | Josh Johnson <jnjosh@jnjosh.com> | 2018-02-03 20:08:36 +0300 |
commit | 0c39cde24835c3e0100a1c4697d93e99d4ad1634 (patch) | |
tree | 1a9defc404e0e1373ebf1e786b9fcc90b3ea6099 | |
parent | 6fcc558b7f4fd8b67b81b1cf19897179c1c12bd4 (diff) |
Cleans up rss formatting
-rw-r--r-- | layouts/rss.xml | 5 | ||||
-rw-r--r-- | layouts/section/microposts.rss.xml | 3 | ||||
-rw-r--r-- | theme.toml | 4 |
3 files changed, 5 insertions, 7 deletions
diff --git a/layouts/rss.xml b/layouts/rss.xml index 2ec97e9..bac5e56 100644 --- a/layouts/rss.xml +++ b/layouts/rss.xml @@ -1,8 +1,7 @@ <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> <channel> - <title>@{{ .Site.Author.handle }}’s {{ .Site.Title }}{{ with .Title }} - {{ . }}{{ end }}</title> - <link>{{ .Permalink }}</link> + <link>{{ .Site.BaseURL }}{{ .Permalink }}</link> <description>All entries {{ with .Title }}in {{.}} {{ end }}on {{ .Site.Title }}</description> <generator>Hugo -- gohugo.io</generator> {{ with .Site.LanguageCode }}<language>{{.}}</language>{{end}} @@ -15,7 +14,7 @@ <title>{{ .Title }}</title> <link>{{ .Permalink }}</link> <pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate> - <author>{{ with .Site.Author.email }}{{.}}{{end}} ({{ with .Site.Author.firstname }}{{.}}{{ end }} {{ with .Site.Author.lastname }}{{.}}{{end}})</author> + <author>{{ with .Site.Author.email }}{{.}} - {{end}}{{ with .Site.Author.firstname }}{{.}}{{ end }} {{ with .Site.Author.lastname }}{{.}}{{end}}</author> <guid>{{ .Permalink }}</guid> <description>{{ .Content | html }}</description> </item> diff --git a/layouts/section/microposts.rss.xml b/layouts/section/microposts.rss.xml index 4c2a0d9..d6852f1 100644 --- a/layouts/section/microposts.rss.xml +++ b/layouts/section/microposts.rss.xml @@ -1,6 +1,5 @@ <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> <channel> - <title>@{{ .Site.Author.handle }}’s {{ .Site.Title }}{{ with .Title }} - {{ . }}{{ end }}</title> <link>{{ .Permalink }}</link> <description>All entries {{ with .Title }}in {{.}} {{ end }}on {{ .Site.Title }}</description> @@ -17,7 +16,7 @@ {{ end }} <link>{{ .Permalink }}</link> <pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate> - <author>{{ with .Site.Author.email }}{{.}}{{end}} ({{ with .Site.Author.firstname }}{{.}}{{ end }} {{ with .Site.Author.lastname }}{{.}}{{end}})</author> + <author>{{ with .Site.Author.email }}{{.}} - {{end}}{{ with .Site.Author.firstname }}{{.}}{{ end }} {{ with .Site.Author.lastname }}{{.}}{{end}}</author> <guid>{{ .Permalink }}</guid> <description>{{ .Content | html }}</description> </item> @@ -2,11 +2,11 @@ name = "Internet Weblog" license = "MIT" licenselink = "https://github.com/jnjosh/internet-weblog/blob/master/LICENSE.md" description = "A personal, minimal blog theme for Hugo." -homepage = "http://jnjosh.com" +homepage = "https://jnjosh.com" tags = ["blog", "personal", "minimal", "microblog", "photoblog", "linkblog", "responsive"] features = ["Microblog", "Photoblog", "Blog", "Flickr Photo Stream", "Personal Blog", "Link Blog", "Responsive"] min_version = 0.14 [author] name = "Josh Johnson" - homepage = "http://jnjosh.com" + homepage = "https://jnjosh.com" |