Skip to content
Snippets Groups Projects
Commit 59644e1f authored by Stefan Galinski's avatar Stefan Galinski :video_game:
Browse files

[BUGFIX] Fix news feed rendering

parent 9e880e80
No related branches found
Tags 3.2.4
No related merge requests found
<?xml version="1.0" encoding="utf-8"?>{namespace sg=SGalinski\SgNews\ViewHelpers}
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
<title>News Feed</title>
<link href="{f:uri.page(pageUid: '{rootpageId}', absolute: '1')}" />
<link rel="self" type="application/atom+xml" href="{f:uri.page(pageUid: '{rootpageId}', absolute: '1', pageType: '78906523')}" />
<id>{f:uri.page(pageUid: '{rootpageId}', absolute: '1')}news.xml</id>
<subtitle type="html">{settings.siteName}</subtitle>
<link href="{f:uri.page(pageUid: '{settings.rootpageId}', absolute: '1')}" />
<link rel="self" type="application/atom+xml" href="{f:uri.page(pageUid: '{settings.rootpageId}', absolute: '1', pageType: '78906523')}" />
<id>{f:uri.page(pageUid: '{settings.rootpageId}', absolute: '1', pageType: '78906523')}</id>
<updated>{news.0.lastUpdated -> f:format.date(format: "Y-m-d\TH:i:s+01:00")}</updated>
<subtitle type="html">News Feed - {absoluteUrl}</subtitle>
<author>
<name>{settings.siteName}</name>
</author>
......@@ -18,4 +18,4 @@
<summary type="html">{singleNews.description}</summary>
</entry>
</f:for>
</feed>
\ No newline at end of file
</feed>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment