Refine homepage skeleton layout
This commit is contained in:
1 parent
3247db7ed1
commit
0e95dbe4d6
7 files changed
+212
-85
No files matched your search
@@ -1,10 +1,9 @@
|
||||
<?php
|
||||
/**
|
||||
* Main posts index template.
|
||||
* Homepage / posts index template.
|
||||
*
|
||||
* v4 起主题统一为 CMS / 资源站形态:
|
||||
* - 首页第一页固定走 AKSRT_Home_Modules 模块系统
|
||||
* - 其它情况(分页 / 没有 home modules class 时的兜底)走标准列表
|
||||
* The homepage shell is handled by the fixed homepage helper so the blog entry
|
||||
* behaves like a primary product surface instead of a generic archive loop.
|
||||
*
|
||||
* @package AKSRT
|
||||
*/
|
||||
@@ -17,7 +16,7 @@ if (function_exists('aksrt_render_fixed_homepage') && aksrt_render_fixed_homepag
|
||||
|
||||
get_header();
|
||||
|
||||
// 兜底:模块系统未就绪 或 已分页 → 标准列表
|
||||
// Fallback: when homepage shell is unavailable, keep a standard archive loop.
|
||||
?>
|
||||
|
||||
<main id="main-content" class="site-main container" tabindex="-1">
|
||||
|
||||
Reference in new issue
Block a user