mygit

[UNMAINTAINED] A cgit/webgit alternative, written in Rust
Log | Files | Refs | README | LICENSE

commit 0b8e2eec8f115fecdc0abe849971b7150fb6e8f7
parent 0f26c619b2da2e7276b4174773c0ae62c98f25ee
Author: Johann150 <johann@qwertqwefsday.eu>
Date:   Thu, 15 Apr 2021 16:49:56 +0200

add guid element to RSS feed items

This should hopefully resolve the issues I had with some RSS readers that
ended up displaying the same items multiple times upon refreshing.

Diffstat:
Mtemplates/log.xml | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/templates/log.xml b/templates/log.xml @@ -16,6 +16,7 @@ <item> <title>{{commit.summary().unwrap_or("")}}</title> <link>{{base_url}}/commit/{{commit.id()}}</link> + <guid isPermaLink="true">{{base_url}}/commit/{{commit.id()}}</guid> <description>&lt;pre&gt;{{commit.message().unwrap_or("")}}&lt;/pre&gt;</description> <author>{{commit.author().email().unwrap_or("")}}</author> <pubDate>{{commit.time()|format_datetime("%a, %e %b %Y %T %z")}}</pubDate>