diff options
Diffstat (limited to 'templates/notes.xml')
| -rw-r--r-- | templates/notes.xml | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/templates/notes.xml b/templates/notes.xml index e314667..b7217fb 100644 --- a/templates/notes.xml +++ b/templates/notes.xml | |||
| @@ -1,21 +1,21 @@ | |||
| 1 | <rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"> | 1 | <rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"> |
| 2 | <channel> | 2 | <channel> |
| 3 | <title>{{ .Config.Title }}'s notes</title> | 3 | <title>{{ .Config.Title }}'s notes</title> |
| 4 | <link>{{ .Config.BaseURL }}</link> | 4 | <link>{{ .Config.BaseURL }}</link> |
| 5 | <description>{{ .Config.Description }}</description> | 5 | <description>{{ .Config.Description }}</description> |
| 6 | <language>en-us</language> | 6 | <language>en-us</language> |
| 7 | 7 | ||
| 8 | {{ range $idx, $page := .Pages }} | 8 | {{ range $idx, $page := .Pages }} |
| 9 | {{ if eq $page.Type "note" }} | 9 | {{ if eq $page.Type "note" }} |
| 10 | <item> | 10 | <item> |
| 11 | <title>{{ $page.Title }}</title> | 11 | <title>{{ $page.Title }}</title> |
| 12 | <link>{{ $.Config.BaseURL }}/{{ $page.RelPermalink }}</link> | 12 | <link>{{ $.Config.BaseURL }}/{{ $page.RelPermalink }}</link> |
| 13 | <pubDate>{{ $page.Created.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}</pubDate> | 13 | <pubDate>{{ $page.Created.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}</pubDate> |
| 14 | <guid>{{ $.Config.BaseURL }}/{{ $page.RelPermalink }}</guid> | 14 | <guid>{{ $.Config.BaseURL }}/{{ $page.RelPermalink }}</guid> |
| 15 | <description>{{ $page.Summary }}</description> | 15 | <description>{{ $page.Summary }}</description> |
| 16 | <content:encoded>{{ $page.Raw }}</content:encoded> | 16 | <content:encoded>{{ $page.Raw }}</content:encoded> |
| 17 | </item> | 17 | </item> |
| 18 | {{ end }} | 18 | {{ end }} |
| 19 | {{ end }} | 19 | {{ end }} |
| 20 | </channel> | 20 | </channel> |
| 21 | </rss> | 21 | </rss> |
