rss upd
This commit is contained in:
parent
1239c11416
commit
58d4fec6bb
@ -132,7 +132,7 @@ class MainHandler extends request_handler {
|
|||||||
'pub_date' => date(DATE_RSS, $post->getTimestamp()),
|
'pub_date' => date(DATE_RSS, $post->getTimestamp()),
|
||||||
'description' => $pt->getDescriptionPreview(500)
|
'description' => $pt->getDescriptionPreview(500)
|
||||||
];
|
];
|
||||||
}, is_admin() ? posts::getList(0, 20, filter_by_lang: $lang) : []);
|
}, posts::getList(0, 20, filter_by_lang: $lang));
|
||||||
|
|
||||||
$ctx = skin('rss');
|
$ctx = skin('rss');
|
||||||
$body = $ctx->atom(
|
$body = $ctx->atom(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user