Skip to content

Commit

Permalink
1.1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
solstice23 committed Oct 24, 2020
1 parent 7a6893e commit fccb997
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,12 @@ Argon 使用 [GPL V3.0](https://github.com/solstice23/argon-theme/blob/master/LI

# 更新日志

## 20201025 v1.1.1
## 20201025 v1.1.2
+ 回滚 HTML Parse 代码
+ 修复 Fancybox 导致的一系列显示错误问题
+ 合并移动端割裂的 UI
+ 增加禁用 Google 字体选项
+ 修复关闭 Lazyload 时首页文章头图无法加载的问题

## 20201024 v1.1.1
+ 修复 Fancybox 可能会出现的 HTML Tag 提前闭合问题
Expand Down
4 changes: 2 additions & 2 deletions info.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version" : "1.1.2",
"version" : "1.1.2.1",
"details_url" : "https://github.com/solstice23/argon-theme/releases",
"download_url" : "https://github.com/solstice23/argon-theme/releases/download/v1.1.2/argon.zip"
"download_url" : "https://github.com/solstice23/argon-theme/releases/download/v1.1.2.1/argon.zip"
}
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Theme Name: argon
Author: solstice23
Author URI: https://solstice23.top/
Description: 轻盈、简洁、美观的 Wordpress 主题
Version: 1.1.2
Version: 1.1.2.1
License: GNU General Public License v3.0
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: 简约, 两栏, 侧栏在左边, 浮动侧栏, 文章目录, 自适应, 夜间模式, 可自定义
Expand Down
6 changes: 5 additions & 1 deletion template-parts/content.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
<?php
if (argon_has_post_thumbnail()){
$thumbnail_url = argon_get_post_thumbnail();
echo "<img class='post-thumbnail lazyload' src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABBJREFUeNpi+P//PwNAgAEACPwC/tuiTRYAAAAASUVORK5CYII=' data-original='" . $thumbnail_url . "' alt='thumbnail'></img>";
if (get_option('argon_enable_lazyload') != 'false'){
echo "<img class='post-thumbnail lazyload' src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABBJREFUeNpi+P//PwNAgAEACPwC/tuiTRYAAAAASUVORK5CYII=' data-original='" . $thumbnail_url . "' alt='thumbnail'></img>";
}else{
echo "<img class='post-thumbnail' src='" . $thumbnail_url . "'></img>";
}
echo "<div class='post-header-text-container'>";
}
?>
Expand Down

0 comments on commit fccb997

Please sign in to comment.