Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
bigfa committed Jan 1, 2025
1 parent 0743091 commit 81c17f9
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 21 deletions.
2 changes: 1 addition & 1 deletion build/css/misc.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
} ?></div>
</footer>
</div>
<?php if ($heraSetting->get_setting('backToTop')) : ?>
<?php if ($heraSetting->get_setting('back2top')) : ?>
<div class="backToTop">
<svg xmlns="http://www.w3.org/2000/svg" class="svgIcon" viewBox="0 0 14 14" fill="currentColor" aria-hidden="true">
<path d="M7.50015 0.425011C7.42998 0.354396 7.34632 0.298622 7.25415 0.261011C7.07101 0.187003 6.86629 0.187003 6.68315 0.261011C6.59128 0.298643 6.50795 0.354423 6.43815 0.425011L0.728147 6.13201C0.595667 6.27419 0.523544 6.46223 0.526972 6.65653C0.530401 6.85084 0.609113 7.03622 0.746526 7.17363C0.883939 7.31105 1.06932 7.38976 1.26362 7.39319C1.45793 7.39661 1.64597 7.32449 1.78815 7.19201L6.21615 2.76501V13.024C6.21615 13.2229 6.29517 13.4137 6.43582 13.5543C6.57647 13.695 6.76724 13.774 6.96615 13.774C7.16506 13.774 7.35583 13.695 7.49648 13.5543C7.63713 13.4137 7.71615 13.2229 7.71615 13.024V2.76501L12.1441 7.19201C12.2868 7.32867 12.4766 7.40497 12.6741 7.40497C12.8717 7.40497 13.0615 7.32867 13.2041 7.19201C13.3444 7.05126 13.4231 6.86068 13.4231 6.66201C13.4231 6.46334 13.3444 6.27277 13.2041 6.13201L7.50015 0.425011Z"></path>
Expand Down
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<?php get_template_part('template-parts/search-bar'); ?>
<div class="post--list">
<?php if (have_posts()) : ?>
<div class="posts">
<div class="block--list">
<?php while (have_posts()) : the_post();
get_template_part('template-parts/content', get_post_format());
endwhile; ?>
Expand Down
4 changes: 2 additions & 2 deletions scss/base/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
flex: 1 1 auto;
min-height: 100vh;
background-color: #fff;
margin: 15px;
border-radius: 10px;
margin: 18px;
border-radius: 12px;
box-shadow: -1px 0 1px -2px rgba(0, 0, 0, 0.9);
}

Expand Down
4 changes: 2 additions & 2 deletions scss/components/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@
z-index: 10;
transition: all 0.3s ease;
position: fixed;
bottom: 25px;
bottom: 50px;
right: -25px;
cursor: pointer;

&.is-active {
right: 25px;
right: 50px;
}
}

Expand Down
4 changes: 2 additions & 2 deletions templates/template-archive.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
<main class="page--archive layoutContainer">
<?php if (have_posts()) :
while (have_posts()) : the_post(); ?>
<article class="article">
<article class="article" itemscope="itemscope" itemtype="http://schema.org/Article">
<header>
<h2 class="article--headline"><?php the_title(); ?></h2>
<h2 class="article--headline" itemprop="headline"><?php the_title(); ?></h2>
</header>
</article>
<?php endwhile;
Expand Down
8 changes: 3 additions & 5 deletions templates/template-douban.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,18 @@
*/
get_header(); ?>

<div class="doubanContainer">
<div class="articleContainer">
<?php if (have_posts()) :
while (have_posts()) : the_post(); ?>
<article class="article">
<article class="article" itemscope="itemscope" itemtype="http://schema.org/Article">
<header class="article--header">
<h2 class="article--headline"><?php the_title(); ?></h2>
<h2 class="article--headline" itemprop="headline"><?php the_title(); ?></h2>
</header>
<div class="grap">
<?php the_content(); ?>
</div>
</article>

<?php endwhile;
// get_template_part('template-parts/pagination');
endif; ?>
</div>

Expand Down
4 changes: 2 additions & 2 deletions templates/template-map.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
<div class="map--container">
<?php if (have_posts()) :
while (have_posts()) : the_post(); ?>
<article class="article">
<article class="article" itemscope="itemscope" itemtype="http://schema.org/Article">
<header class="article--header">
<h2 class="article--headline"><?php the_title(); ?></h2>
<h2 class="article--headline" itemprop="headline"><?php the_title(); ?></h2>
</header>
<div class="grap">
<?php the_content(); ?>
Expand Down
6 changes: 3 additions & 3 deletions templates/template-terms.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
*/
get_header(); ?>

<div class="template--terms layoutContainer">
<div class="template--terms articleContainer">
<?php while (have_posts()) : the_post(); ?>
<article class="article">
<article class="article" itemscope="itemscope" itemtype="http://schema.org/Article">
<header class="article--header">
<h2 class="article--headline"><?php the_title(); ?></h2>
<h2 class="article--headline" itemprop="headline"><?php the_title(); ?></h2>
</header>
<div class="collectionCard">
<?php $categories = get_terms([
Expand Down
4 changes: 2 additions & 2 deletions templates/template-wide.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<div class="articleContainer">
<?php if (have_posts()) :
while (have_posts()) : the_post(); ?>
<article class="article">
<article class="article" itemscope="itemscope" itemtype="http://schema.org/Article">
<header class="article--header">
<h2 class="article--headline"><?php the_title(); ?></h2>
<h2 class="article--headline" itemprop="headline"><?php the_title(); ?></h2>
<div class="article--meta">
<a href="<?php echo get_author_posts_url(get_the_author_meta('ID')); ?>" class="author">
<img src="<?php echo get_avatar_url(get_the_author_meta('ID')); ?>" alt="<?php the_author(); ?>" class="avatar">
Expand Down

0 comments on commit 81c17f9

Please sign in to comment.