<?xml version="1.0" encoding="{{$config.charset}}"?>
<rss version="2.0">
<channel>
	<title><![CDATA[{{$sTitle}}{{$config.title}}]]></title>
	<link>{{$aPage.sSiteUrl}}</link>
	<description><![CDATA[{{$config.description}}]]></description>
	<language>{{$config.language}}</language>
	<generator>{{$lang.RSS_generator}}</generator>

	<item>
		<title><![CDATA[{{$aPage.sName}}]]></title>
		<pubDate>{{$aPage.sDate}}</pubDate>
		<link>{{$aPage.sSiteUrl}}{{$aPage.sLinkName}}</link>
		<description><![CDATA[{{$aPage.sDescriptionShort}}]]></description>
		<guid isPermaLink="true">{{$aPage.sSiteUrl}}{{$aPage.sLinkName}}</guid>
	</item>

	{{foreach from=$aPage.aSubpages item=aSubpage}}
		<item>
			<title><![CDATA[{{$aSubpage.sName}}]]></title>
			<pubDate>{{$aSubpage.sDate}}</pubDate>
			<link>{{$aSubpage.sSiteUrl}}{{$aSubpage.sLinkName}}</link>
			<description><![CDATA[{{$aSubpage.sDescriptionShort}}]]></description>
			<guid isPermaLink="true">{{$aSubpage.sSiteUrl}}{{$aSubpage.sLinkName}}</guid>
		</item>
	{{/foreach}}
</channel>
</rss>