switch to new theme due to old theme not liking newer versions. New theme seems kick-arse, however
This commit is contained in:
parent
1909ea34ea
commit
e3ac8b96f5
531 changed files with 147790 additions and 66 deletions
22
themes/story/layouts/_default/index.xml
Normal file
22
themes/story/layouts/_default/index.xml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>{{ .Site.Title }} </title>
|
||||
<link>{{ .Permalink }}</link>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<language>en-us</language>
|
||||
<author>{{ .Site.Params.Author }}</author>
|
||||
<rights>Copyright (c) {{ .Site.LastChange.Year }}</rights>
|
||||
<updated>{{ .Date }}</updated>
|
||||
{{ range where (where (where .Data.Pages "Section" "ne" "slides") ".Params.skip" "ne" "true") ".Date.Unix" "<" now.Unix }}
|
||||
<item>
|
||||
<title>{{ cond (eq .Site.Params.titlecase true) (.Title | title) (.Title) }}</title>
|
||||
<link>{{ .Permalink }}</link>
|
||||
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 MST" }}</pubDate>
|
||||
<author>{{ .Site.Params.Author }}</author>
|
||||
<guid>{{ .Permalink }}</guid>
|
||||
<media:content xmlns:media="http://search.yahoo.com/mrss/" url="{{ (absURL (default (default "img/default-header-img.tn-500x500.jpg" .Params.image) .Params.thumbnail)) }}" medium="image" type="image/jpg" width="100" height="100" />
|
||||
<description>{{ .Content | html }}</description>
|
||||
</item>
|
||||
{{ end }}
|
||||
</channel>
|
||||
</rss>
|
||||
Loading…
Add table
Add a link
Reference in a new issue