summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2020-05-15 00:51:55 -0700
committerAlec Warner <antarus@gentoo.org>2020-05-15 00:54:29 -0700
commitef68c3efc8e5f90c0d764aeac0bcb41e3850b1fe (patch)
tree26c649e3930be3853b917a59555bd4a64c283675
parentAdd image: titles in the override. (diff)
downloadsoko-ef68c3efc8e5f90c0d764aeac0bcb41e3850b1fe.tar.gz
soko-ef68c3efc8e5f90c0d764aeac0bcb41e3850b1fe.tar.bz2
soko-ef68c3efc8e5f90c0d764aeac0bcb41e3850b1fe.zip
Add commit link to changes feed.
Signed-off-by: Alec Warner <antarus@gentoo.org>
-rw-r--r--web/templates/feeds/changes.atom.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/templates/feeds/changes.atom.tmpl b/web/templates/feeds/changes.atom.tmpl
index e78e46a..8e76411 100644
--- a/web/templates/feeds/changes.atom.tmpl
+++ b/web/templates/feeds/changes.atom.tmpl
@@ -15,7 +15,7 @@
<link rel="alternate" type="text/html" href="https://packages.gentoo.org/packages/{{.Atom}}"/>
<updated>{{if ge (len .Commits) 1 }}{{(index .Commits 0).CommitterDate}}{{else}}unknown{{end}}</updated>
<title>{{.Atom}} ({{.Description}})</title>
- <content>{{.Atom}} is now available in Gentoo on these architectures: {{.Keywords}}</content>
+ <content>{{.Atom}} is now available in Gentoo on these architectures: {{.Keywords}}. {{if ge (len .Commits) 1}}Commit: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id={{(index .Commits 0).Id}}{{end}}</content>
</entry>
{{end}}
</feed>