用户域壳层收口:删除 uh/uc/profile 孤儿 partial 并修正侧栏与宽度选择器

清理减层后已无引用的草稿 partial,让公开主页/作者页侧栏接入 content-layout__aside,并修正 content-shell 与 aksrt-profile 同节点时的宽度选择器。
This commit is contained in:
2026-07-10 21:51:15 +08:00
parent adad6d6fcd
commit 56c4f83e09
19 changed files with 28 additions and 2122 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ require_once AKSRT_DIR . '/templates/parts/user-shared-helpers.php';
</div>
<?php if (!empty($user_home_settings['sidebar'])) : ?>
<aside class="sidebar aksrt-author-page__aside" role="complementary" aria-label="<?php esc_attr_e('作者页侧栏', 'aksrt'); ?>">
<aside class="content-layout__aside sidebar aksrt-author-page__aside" role="complementary" aria-label="<?php esc_attr_e('作者页侧栏', 'aksrt'); ?>">
<?php
$sidebar_id = is_active_sidebar('author-sidebar') ? 'author-sidebar' : 'sidebar-blog';
if (is_active_sidebar('all_sidebar_top')) {