diff options
author | Volpeon <git@volpeon.ink> | 2021-05-26 08:56:41 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-05-26 08:56:41 +0200 |
commit | 2d3a8bc61011e719bdbbc2bb4555821462393326 (patch) | |
tree | 05ad0ec8de936e83c1d8bd4adfab10326c5ff1fa /templates | |
parent | Category list improvements, generate ATOM feeds (diff) | |
download | volpeon.ink-2d3a8bc61011e719bdbbc2bb4555821462393326.tar.gz volpeon.ink-2d3a8bc61011e719bdbbc2bb4555821462393326.tar.bz2 volpeon.ink-2d3a8bc61011e719bdbbc2bb4555821462393326.zip |
Use full URLs in feed where required
Diffstat (limited to 'templates')
-rw-r--r-- | templates/feed.xml | 2 | ||||
-rw-r--r-- | templates/feed_entry.xml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/feed.xml b/templates/feed.xml index ad665d2..9ca62f4 100644 --- a/templates/feed.xml +++ b/templates/feed.xml | |||
@@ -1,7 +1,7 @@ | |||
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(namespace.root.is_index)$$else$$title$ – $endif$$site.title$</title> | 3 | <title>$if(namespace.root.is_index)$$else$$title$ – $endif$$site.title$</title> |
4 | <link href="$url.abs$" rel="self"/> | 4 | <link href="$url.full$" rel="self"/> |
5 | <link href="$page.url.abs$"/> | 5 | <link href="$page.url.abs$"/> |
6 | <updated>$last_update.rfc3339$</updated> | 6 | <updated>$last_update.rfc3339$</updated> |
7 | <id>$url.abs$</id> | 7 | <id>$url.abs$</id> |
diff --git a/templates/feed_entry.xml b/templates/feed_entry.xml index f4c5d47..df44661 100644 --- a/templates/feed_entry.xml +++ b/templates/feed_entry.xml | |||
@@ -1,5 +1,5 @@ | |||
1 | <entry> | 1 | <entry> |
2 | <id>$it.url.abs$</id> | 2 | <id>$it.url.full$</id> |
3 | <title>$it.title$</title> | 3 | <title>$it.title$</title> |
4 | <link rel="alternate" href="$it.url.abs$"/> | 4 | <link rel="alternate" href="$it.url.abs$"/> |
5 | $if(it.author)$ | 5 | $if(it.author)$ |