Cleans up rss formatting

This commit is contained in:
Josh Johnson 2018-02-03 12:08:36 -05:00
parent 6fcc558b7f
commit 0c39cde248
No known key found for this signature in database
GPG key ID: 93E0C66B0988E48B
3 changed files with 5 additions and 7 deletions

View file

@ -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>

View file

@ -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>

View file

@ -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"