forked from hilmanski/freeStuffDev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.rss.xml
31 lines (31 loc) · 1.73 KB
/
index.rss.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
<channel>
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
<link>{{ .Permalink }}</link>
<generator>Hugo -- gohugo.io</generator>
<language>en</language>
<lastBuildDate>{{ now | safeHTML }}</lastBuildDate>
<atom:link href="{{.Permalink}}index.xml" rel="self" type="application/rss+xml"/>
{{ range where .Site.RegularPages "Type" "stuff"}}
{{ if le .Params.Date.Unix now.Unix }}
<item>
<title>Today's Dev tool: {{ .Title }}</title>
<description>{{ .Params.snippet }}</description>
<link>{{ .Params.link }}?ref=freestuffdev</link>
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
<guid>{{ .Params.link }}?ref=freestuffdev</guid>
</item>
{{ end }}
{{ end }}
{{ range .Site.Taxonomies.tags }}
<item>
<title>Free {{ .Page.Title }} service for dev</title>
<link>{{ .Page.Permalink }}</link>
<guid>{{ .Page.Permalink }}</guid>
<description>List of free {{.Page.Title}} service or {{.Page.Title}} tools for developer to use for MVP or prototyping product. This is a collective list of free {{.Page.Title}} service, you can also submit your product here. </description>
</item>
{{ end }}
</channel>
</rss>