articles: add description meta tag
This commit is contained in:
parent
9876139a78
commit
9793661875
@ -156,6 +156,10 @@ class MainHandler extends request_handler {
|
|||||||
$lang = PostLanguage::getDefault();
|
$lang = PostLanguage::getDefault();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
add_meta([
|
||||||
|
'$description' => lang('blog_expl_'.$lang->value)
|
||||||
|
]);
|
||||||
|
|
||||||
$posts = posts::getList(
|
$posts = posts::getList(
|
||||||
include_hidden: is_admin(),
|
include_hidden: is_admin(),
|
||||||
filter_by_lang: $lang);
|
filter_by_lang: $lang);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user