Skip to content

Commit

Permalink
0.999.beta.1
Browse files Browse the repository at this point in the history
  • Loading branch information
solstice23 committed Aug 8, 2020
1 parent 6ed87a4 commit 7e01b29
Show file tree
Hide file tree
Showing 21 changed files with 1,512 additions and 618 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@ Argon 使用 [GPL V3.0](https://github.com/solstice23/argon-theme/blob/master/LI

# 更新日志

## 20200809 v0.999.beta.1
+ 更换 Pjax 方案为 [jquery-pjax](https://github.com/defunkt/jquery-pjax/) 魔改后的版本 [jquery-pjax-plus](https://github.com/defunkt/jquery-pjax-plus)
+ 解决 Pjax 一些兼容性问题,修复之前 Pjax 后退定位的 BUG
+ 支持滚动时自动折叠顶栏(新增该设置项)
+ 其他一些优化

## 20200807 v0.994
+ 支持将文章中第一张图片设为头图,支持每篇文章单独设置和跟随全局
+ 更改评论区 Markdown 图片解析逻辑,增强兼容性
Expand Down
25 changes: 14 additions & 11 deletions archive.php
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
<?php get_header(); ?>

<div class="page-infomation-card card bg-gradient-secondary shadow-lg border-0">
<div class="card-body">
<h3 class="text-black"> <?php the_archive_title();?> </h3>
<?php if (the_archive_description() != ''){ ?>
<p class="text-black mt-3">
<?php the_archive_description(); ?>
<div class="page-infomation-card-container">
<div class="page-infomation-card card bg-gradient-secondary shadow-lg border-0">
<div class="card-body">
<h3 class="text-black"> <?php the_archive_title();?> </h3>
<?php if (the_archive_description() != ''){ ?>
<p class="text-black mt-3">
<?php the_archive_description(); ?>
</p>
<?php } ?>
<p class="text-black mt-3 mb-0 opacity-8">
<i class="fa fa-file-o mr-1"></i>
<?php echo $wp_query -> found_posts; ?> <?php _e('篇文章', 'argon');?>
</p>
<?php } ?>
<p class="text-black mt-3 mb-0 opacity-8">
<i class="fa fa-file-o mr-1"></i>
<?php echo $wp_query -> found_posts; ?> <?php _e('篇文章', 'argon');?>
</p>
</div>
</div>
</div>

<?php get_sidebar(); ?>

<div id="primary" class="content-area">
Expand Down
Loading

0 comments on commit 7e01b29

Please sign in to comment.