diff options
author | Volpeon <git@volpeon.ink> | 2021-01-05 10:58:04 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-01-05 10:58:04 +0100 |
commit | 5db16a08a9726b67b5bb96fd17f813fa1b74f568 (patch) | |
tree | 8313cb28561f856da7782ff667ecabfdd1716222 /templates/feed.xml | |
parent | Use Pygments for syntax highlighting, design adjustments, preload fonts (diff) | |
download | volpeon.ink-5db16a08a9726b67b5bb96fd17f813fa1b74f568.tar.gz volpeon.ink-5db16a08a9726b67b5bb96fd17f813fa1b74f568.tar.bz2 volpeon.ink-5db16a08a9726b67b5bb96fd17f813fa1b74f568.zip |
Moved all metadata processing from the build script into a Pandoc Lua filter
Diffstat (limited to 'templates/feed.xml')
-rw-r--r-- | templates/feed.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/feed.xml b/templates/feed.xml index 4cc2c17..083049e 100644 --- a/templates/feed.xml +++ b/templates/feed.xml | |||
@@ -1,9 +1,9 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <feed xmlns="http://www.w3.org/2005/Atom"> | 2 | <feed xmlns="http://www.w3.org/2005/Atom"> |
3 | <title>$if(is_home)$$else$$title$ – $endif$$site.title$</title> | 3 | <title>$if(section.is_index)$$else$$title$ – $endif$$site.title$</title> |
4 | <link href="$feed.url.full$" rel="self"/> | 4 | <link href="$url.full$" rel="self"/> |
5 | <link href="$url.full$"/> | 5 | <link href="$page.url.full$"/> |
6 | <updated>$feed.last_update.rfc3339$</updated> | 6 | <updated>$pages.last_update.rfc3339$</updated> |
7 | <id>$url.full$</id> | 7 | <id>$url.full$</id> |
8 | $for(author)$ | 8 | $for(author)$ |
9 | <author> | 9 | <author> |
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | $for(pages)$ | 17 | $for(pages)$ |
18 | $for(it.all)$ | 18 | $for(it.all)$ |
19 | $if(it.date.rfc3339)$ | 19 | $if(it.date)$ |
20 | <entry> | 20 | <entry> |
21 | <id>$it.url.full$</id> | 21 | <id>$it.url.full$</id> |
22 | <title type="html"><![CDATA[$it.title$]]></title> | 22 | <title type="html"><![CDATA[$it.title$]]></title> |