对齐内容主线页骨架
This commit is contained in:
+7
-5
@@ -171,14 +171,15 @@ while (have_posts()) :
|
||||
<div id="reading-progress-global" class="reading-progress-bar" role="progressbar" aria-label="<?php esc_attr_e('阅读进度', 'aksrt'); ?>" aria-valuemin="0" aria-valuemax="100" aria-valuenow="0"></div>
|
||||
<?php endif; ?>
|
||||
|
||||
<main id="main-content" class="site-main container" tabindex="-1">
|
||||
<div class="content-wrap">
|
||||
<main id="main-content" class="site-main content-shell content-shell--stream content-shell--single" tabindex="-1">
|
||||
<div class="content-layout<?php echo $show_sidebar ? '' : ' content-layout--no-sidebar'; ?>">
|
||||
<div class="content-layout__primary">
|
||||
<div class="content-main content-main--single">
|
||||
<?php if (!$show_cover && function_exists('aksrt_breadcrumbs')) { aksrt_breadcrumbs($single_settings['breadcrumbs_home'] ?? ''); } ?>
|
||||
|
||||
<?php do_action('aksrt_single_before', $post); ?>
|
||||
<?php do_action('aksrt_single_before', $post); ?>
|
||||
|
||||
<article <?php post_class('article main-bg theme-box box-body radius8 main-shadow'); ?>>
|
||||
<article <?php post_class('article article-shell main-bg theme-box box-body radius8 main-shadow'); ?>>
|
||||
<?php
|
||||
$cover_type = (string) ($single_settings['cover_type'] ?? 'none');
|
||||
$img_scale = (int) ($single_settings['article_image_cover_scale'] ?? 35);
|
||||
@@ -444,7 +445,8 @@ while (have_posts()) :
|
||||
<?php endif; ?>
|
||||
</article>
|
||||
|
||||
<?php do_action('aksrt_single_article_after', $post); ?>
|
||||
<?php do_action('aksrt_single_article_after', $post); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if ($show_sidebar) : ?>
|
||||
|
||||
Reference in New Issue
Block a user