mirror of
https://github.com/klaussilveira/gitlist.git
synced 2026-05-06 19:46:13 +02:00
Merge pull request #271 from ilesinge/master
Use absolute URLs in RSS feeds
This commit is contained in:
@@ -3,13 +3,13 @@
|
||||
<channel>
|
||||
<title>Latest commits in {{ repo }}:{{ branch }}</title>
|
||||
<description>RSS provided by GitList</description>
|
||||
<link>{{ path('homepage') }}</link>
|
||||
<link>{{ url('homepage') }}</link>
|
||||
|
||||
{% for commit in commits %}
|
||||
<item>
|
||||
<title>{{ commit.message }}</title>
|
||||
<description>{{ commit.author.name }} authored {{ commit.shortHash }} in {{ commit.date | date('d/m/Y \\a\\t H:i:s') }}</description>
|
||||
<link>{{ path('commit', {repo: repo, commit: commit.hash}) }}</link>
|
||||
<link>{{ url('commit', {repo: repo, commit: commit.hash}) }}</link>
|
||||
<pubDate>{{ commit.date | date('r') }}</pubDate>
|
||||
</item>
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user