fix feed issue

This commit is contained in:
Shannon Sterz 2016-12-26 14:54:18 +01:00
parent de30bede3f
commit 8884a36255

View file

@ -5,7 +5,7 @@
<title><?php echo xml($title) ?></title> <title><?php echo xml($title) ?></title>
<link><?php echo xml($link) ?></link> <link><?php echo xml($link) ?></link>
<generator><?php echo c::get('feed.generator', 'Kirby') ?></generator> <generator><?php echo c::get('feed.generator', 'Kirby') ?></generator>
<lastBuildDate><?php echo date('r', $modified) ?></lastBuildDate> <lastBuildDate><?php echo date('r', strtotime($modified)) ?></lastBuildDate>
<atom:link href="<?php echo xml($url) ?>" rel="self" type="application/rss+xml" /> <atom:link href="<?php echo xml($url) ?>" rel="self" type="application/rss+xml" />
<?php if(!empty($description)): ?> <?php if(!empty($description)): ?>