Skip to content

Commit

Permalink
1.2.8
Browse files Browse the repository at this point in the history
  • Loading branch information
ouyangyanhuo committed Jul 17, 2022
1 parent 7bf19cc commit bcbf00e
Show file tree
Hide file tree
Showing 9 changed files with 33 additions and 34 deletions.
12 changes: 3 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
一个为typecho移植的主题,源自于[hugo-tania](https://github.com/WingLim/hugo-tania)主题,原本是Hugo的主题,被移植到Typecho上在其基础上进行了深度修改的Smiletheme或许是你在Typecho上最好的选择

[![AdminMD](https://img.shields.io/badge/Magneto-SmileTheme-brightgreen?style=for-the-badge)](https://fmcf.cc/technology/523/)
![Version](https://img.shields.io/badge/Version-1.2.7-critical?style=for-the-badge)
![Version](https://img.shields.io/badge/Version-1.2.8-critical?style=for-the-badge)
![Repo-size](https://img.shields.io/github/languages/code-size/ouyangyanhuo/SmileTheme?style=for-the-badge)
![License](https://img.shields.io/github/license/ouyangyanhuo/SmileTheme?style=for-the-badge)
![Stars](https://img.shields.io/github/stars/ouyangyanhuo/SmileTheme?style=for-the-badge)
Expand All @@ -14,6 +14,8 @@
## 最近版本更新日志

- 修复主题应用时存在的Bug
- 重构部分页面
- 本版本属于修复更新,无重大功能更新

## 使用提示

Expand Down Expand Up @@ -62,11 +64,7 @@ SmileTheme 使用 [GPL V3.0](https://github.com/ouyangyanhuo/SmileTheme/blob/mai

## 下载渠道

<<<<<<< HEAD
1.GitHub [https://github.com/ouyangyanhuo/SmileTheme](https://github.com/ouyangyanhuo/SmileTheme) 适合国外(主仓库)
=======
1.GitHub [https://github.com/ouyangyanhuo/AdminMD](https://github.com/ouyangyanhuo/SmileTheme) 适合国外(主仓库)
>>>>>>> 9b698df33cfab1193ae782733667ffa30e6a9717

2.取消 Gitee 下载 因为它真的比 Shit 还烂,Gitee仓库会保留,但不会同步、更新。

Expand All @@ -75,8 +73,4 @@ SmileTheme 使用 [GPL V3.0](https://github.com/ouyangyanhuo/SmileTheme/blob/mai
![](https://i.loli.net/2021/08/16/sARYjilgO9MF2H1.png)
![](https://i.loli.net/2021/08/16/rcXL5KjbueZ6zQp.png)
![](https://i.loli.net/2021/08/16/wLxGjiPm6pZoyBt.png)
<<<<<<< HEAD
![](https://i.loli.net/2021/08/16/Cq1Dymtsur4eTAV.png)
=======
![](https://i.loli.net/2021/08/16/Cq1Dymtsur4eTAV.png)
>>>>>>> 9b698df33cfab1193ae782733667ffa30e6a9717
2 changes: 1 addition & 1 deletion assets/css/style.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/js/features.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions assets/js/pjax.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
/**
* 移植自<a href="https://limxw.com/" target="_blank">WingLim</a>的<a href="https://github.com/WingLim/hugo-tania" target="_blank">hugo-tania</a>主题,在其基础上进行了深度修改的Smiletheme或许是你在Typecho上最好的选择
* <hr><a style="width:fit-content" id="SmileTheme">版本检测中...&nbsp;</div>
* <script>var simversion="1.2.8-Build22717-3-Dev";function update_detec(){var container=document.getElementById("SmileTheme");if(!container){return}var ajax=new XMLHttpRequest();container.style.display="block";ajax.open("get","https://api.github.com/repos/ouyangyanhuo/SmileTheme/releases/latest");ajax.send();ajax.onreadystatechange=function(){if(ajax.readyState===4&&ajax.status===200){var obj=JSON.parse(ajax.responseText);var newest=obj.tag_name;if(newest>simversion){container.innerHTML="发现新主题版本:"+obj.name+'。下载地址:<a href="'+obj.zipball_url+'">点击下载</a>'+"<br>您目前的版本:"+String(simversion)+"。"+'<a target="_blank" href="'+obj.html_url+'">👉查看新版亮点</a>'}else{container.innerHTML="您目前的版本:"+String(simversion)+"。"+"您目前使用的是最新版。"}}}};update_detec();</script>
* <script>var simversion="1.2.8";function update_detec(){var container=document.getElementById("SmileTheme");if(!container){return}var ajax=new XMLHttpRequest();container.style.display="block";ajax.open("get","https://api.github.com/repos/ouyangyanhuo/SmileTheme/releases/latest");ajax.send();ajax.onreadystatechange=function(){if(ajax.readyState===4&&ajax.status===200){var obj=JSON.parse(ajax.responseText);var newest=obj.tag_name;if(newest>simversion){container.innerHTML="发现新主题版本:"+obj.name+'。下载地址:<a href="'+obj.zipball_url+'">点击下载</a>'+"<br>您目前的版本:"+String(simversion)+"。"+'<a target="_blank" href="'+obj.html_url+'">👉查看新版亮点</a>'}else{container.innerHTML="您目前的版本:"+String(simversion)+"。"+"您目前使用的是最新版。"}}}};update_detec();</script>
*
* @package Smile Theme
* @author Magneto
* @version 1.2.8-Build22717-3-Dev
* @version 1.2.8
* @link https://www.fmcf.cc
*/

Expand Down
3 changes: 2 additions & 1 deletion page-links.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,5 @@
</div>
<?php endif; ?>
</main>
<?php $this->need('footer.php'); ?>
<?php $this->need('footer.php'); ?>
<!-- 无需重构 -->

0 comments on commit bcbf00e

Please sign in to comment.