feat(navigation): hard-switch to Zibll navigation and Font Awesome 5

This commit is contained in:
kate522 committed 2026-08-18 20:46:21 +08:00
1 parent 3c3ddac8be
commit a0b84977a2
630 files changed
+101647 -11293

No files matched your search

+3 -4
View File
@@ -365,19 +365,18 @@ if (!function_exists('aksrt_homepage_render_posts_grid')) {
if (!function_exists('aksrt_homepage_render_section')) {
/**
* Render a first-class homepage section (hero / banner).
* Render the remaining first-class homepage banner section.
*
* These are fixed homepage sections, not a freeform module canvas bridge.
*/
function aksrt_homepage_render_section(string $type): void {
$type = sanitize_key($type);
if (!in_array($type, ['hero', 'banner'], true)) {
if ($type !== 'banner') {
return;
}
// Fixed homepage owns these sections directly.
// Keep the existing hero/banner templates as section implementations,
// but do not re-wrap them in a freeform module bridge.
// Header slider is rendered by aksrt_header_slide(), never by this module path.
get_template_part('templates/parts/home-modules/module', $type);
}
}