diff --git a/app/controller/Page.php b/app/controller/Page.php index fbcdf5d..c901904 100644 --- a/app/controller/Page.php +++ b/app/controller/Page.php @@ -79,7 +79,7 @@ class Page extends Base if($honorTopCId) { $honors = Category::getChildrenByParentId($honorTopCId); foreach ($honors as &$honor) { - $honor['items'] = Article::getListByCategoryIds([$honor['id']], 20); + $honor['items'] = Article::getListByCategoryIds([$honor['id']], $honor['number'] ? $honor['number'] : 20, '', [], 1); } unset($honor); } diff --git a/public/static/image/default_bg.png b/public/static/image/default_bg.png new file mode 100644 index 0000000..e4dbf98 Binary files /dev/null and b/public/static/image/default_bg.png differ diff --git a/view/page/about.html b/view/page/about.html index 6fbe981..9f73e50 100644 --- a/view/page/about.html +++ b/view/page/about.html @@ -8,7 +8,7 @@ - +
{$blocks['structure']['subtitle']['value'] ?? ''}
{$blocks['history']['subtitle']['value'] ?? ''}