This commit is contained in:
E. S. 2024-04-14 01:16:29 +00:00
parent 1239c11416
commit 58d4fec6bb

View File

@ -132,7 +132,7 @@ class MainHandler extends request_handler {
'pub_date' => date(DATE_RSS, $post->getTimestamp()),
'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');
$body = $ctx->atom(