Skip to content

Commit

Permalink
- 将 h2 标签修改为 h1 标签, 提升SEO爬网率
Browse files Browse the repository at this point in the history
  • Loading branch information
SmallKi-d committed Aug 20, 2022
1 parent 0a28ab1 commit 119fcee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion page.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<div id="page-<?php the_ID() ?>" class="row row-cols-1">
<div id="post-main" class="col-lg-<?php pk_hide_sidebar_out('12','8') ?> col-md-12 <?php pk_open_box_animated('animated fadeInLeft') ?> ">
<div class="p-block">
<div><h2 id="post-title" class="mb-0 puock-text t-xxl"><?php the_title() ?></h2></div>
<div><h1 id="post-title" class="mb-0 puock-text t-xxl"><?php the_title() ?></h1></div>
<div class="options clearfix mt20">
<div class="float-left">
<?php if (!pk_is_checked('hide_post_views')): ?>
Expand Down
2 changes: 1 addition & 1 deletion single.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<div id="post-main"
class="col-lg-<?php pk_hide_sidebar_out('12', '8') ?> col-md-12 <?php pk_open_box_animated('animated fadeInLeft') ?> ">
<div class="p-block">
<div><h2 id="post-title" class="mb-0 puock-text t-xxl"><?php the_title() ?></h2></div>
<div><h1 id="post-title" class="mb-0 puock-text t-xxl"><?php the_title() ?></h1></div>
<div class="options clearfix mt20">
<div class="float-left">
<?php if (!pk_is_checked('hide_post_views')): ?>
Expand Down

0 comments on commit 119fcee

Please sign in to comment.