Skip to content

Commit

Permalink
🎉Update Version 1.5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
ITJoker233 committed Jan 11, 2020
1 parent fd3824f commit ddc2933
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 39 deletions.
26 changes: 21 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,34 @@
- [ ] 增加相关的Web特效~
- More...

## 📌当前版本:1.5.5
## 📌当前版本:1.5.6

1. (刚开始使用这个主题的请忽略这句话)
2. 由于Gridea客户端不支持直接获取主题版本,所以换了一个方法获取当前主题的版本号,(如果Gridea的客户端一直不支持获取的话,那么就采用这个方法,如果支持了就不必这一步。)
3. 因此在旧版本的基础上的解决方法:```请重新启动Gridea客户端,然后点击下主题->自定义配置->主题版本->选择最新版本->保存```
4. 音乐插件------(详细教程见:https://blog.itjoker.cn/post/azQ6rNbFG/)

## 🌈下载地址

- [v1.5.6(当前版本)](https://github.com/ITJoker233/Gridea-theme-Chic/releases/tag/1.5.6)
- [v1.5.5](https://github.com/ITJoker233/Gridea-theme-Chic/releases/tag/1.5.5)
- [v1.5.4](https://github.com/ITJoker233/Gridea-theme-Chic/releases/tag/1.5.4)
- [v1.5.3](https://github.com/ITJoker233/Gridea-theme-Chic/releases/tag/1.5.3)
- [v1.5.2](https://github.com/ITJoker233/Gridea-theme-Chic/releases/tag/1.5.2)
- [v1.5.1](https://github.com/ITJoker233/Gridea-theme-Chic/releases/tag/1.5.1)
- [v1.5.0](https://github.com/ITJoker233/Gridea-theme-Chic/releases/tag/1.5.0)
- [v1.4.9](https://github.com/ITJoker233/Gridea-theme-Chic/releases/tag/1.4.9)
- [v1.4.8](https://github.com/ITJoker233/Gridea-theme-Chic/releases/tag/1.4.8)
- [v1.4.7](https://github.com/ITJoker233/Gridea-theme-Chic/releases/tag/1.4.7)
- [v1.4.6](https://github.com/ITJoker233/Gridea-theme-Chic/releases/tag/1.4.6)
- [v1.4.5](https://github.com/ITJoker233/Gridea-theme-Chic/releases/tag/1.4.5)
- [v1.4.3](https://github.com/ITJoker233/Gridea-theme-Chic/releases/tag/1.4.3)
- [v1.4.2](https://github.com/ITJoker233/Gridea-theme-Chic/releases/tag/1.4.2)

## 🔖本次更新日志
1. live2d加载的图片,换成图床加载,提高了加载速度~🎉
2. 修复了1.5.3版本开始的live2d在主题切换时候不根据主题加载的Bug
3. 下次更新未知....
4. 本次更新时间为:2020.01.11
1. 修复了1.5.5版本的中文显示异常
2. 下次更新未知....
3. 本次更新时间为:2020.01.11

## 📢作者留言

Expand Down
2 changes: 1 addition & 1 deletion assets/media/script/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ function getStar() {
if (data[i]['name'] == "Gridea-theme-Chic") {
star_count = data[i]['stargazers_count'];
for (var j = 0; j < parseInt(star_count) + 1; j++) {
setTimeout(star.innerHTML = j.toString(), 500);
setTimeout(setTimeout(star.innerHTML = j.toString(), 500), 100);
}
break;
}
Expand Down
2 changes: 1 addition & 1 deletion assets/media/script/script.min.js

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

6 changes: 3 additions & 3 deletions config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Chic-给我的主题来个Star呗!🎉",
"version": "1.5.5",
"version": "1.5.6",
"author": "@ITJoker (原作者:@Bentham)",
"repository": "https://github.com/ITJoker233/Gridea-theme-Chic",
"customConfig": [{
Expand Down Expand Up @@ -60,11 +60,11 @@
"name": "version",
"label": "主题版本",
"group": "网站信息",
"value": "1.5.5",
"value": "1.5.6",
"type": "select",
"options": [{
"label": "最新版本",
"value": "1.5.5"
"value": "1.5.6"
}]
},
{
Expand Down
58 changes: 29 additions & 29 deletions templates/include/header.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -8,45 +8,45 @@
</div>
<div class="menu navbar-right">
<% menus.forEach(function (menu) { %>
<a class="menu-item" href="<%= menu.link %>">
<%= menu.name %>
</a>
<% }); %>
<input id="switch_default" type="checkbox" class="switch_default">
<label for="switch_default" class="toggleBtn"></label>
<a class="menu-item" href="<%= menu.link %>">
<%= menu.name %>
</a>
<% }); %>
<input id="switch_default" type="checkbox" class="switch_default">
<label for="switch_default" class="toggleBtn"></label>
</div>

</div>
</nav>

<%# mobile %>
<nav class="navbar-mobile" id="nav-mobile">
<div class="container">
<div class="navbar-header">
<div>
<a href="<%= themeConfig.domain %>">
<%= themeConfig.siteName%>
</a>
<nav class="navbar-mobile" id="nav-mobile">
<div class="container">
<div class="navbar-header">
<div>
<a href="<%= themeConfig.domain %>">
<%= themeConfig.siteName%>
</a>
<!--en-->
<a id="mobile-toggle-theme-en" class="a en">&nbsp;Dark</a>
<!--zh-->
<a id="mobile-toggle-theme-zh" class="a zh">&nbsp;\u6697\u9ED1</a>
</div>
<!--en-->
<a id="mobile-toggle-theme-en" class="a en">&nbsp;Dark</a>
<div class="menu-toggle" id="menu-toggle-en" onclick="mobileBtn()">&#9776; Menu</div>
<!--zh-->
<a id="mobile-toggle-theme-zh" class="a zh">&nbsp;\u6697\u9ED1</a>
</div>
<!--en-->
<div class="menu-toggle" id="menu-toggle-en" onclick="mobileBtn()">&#9776; Menu</div>
<!--zh-->
<div class="menu-toggle" id="menu-toggle-zh" onclick="mobileBtn()">&#9776; ��</div>
<div class="menu-toggle" id="menu-toggle-zh" onclick="mobileBtn()">&#9776; &#x83DC;&#x5355;</div>

</div>
<div class="menu" id="mobile-menu">
<% menus.forEach(function (menu) { %>
<a class="menu-item" href="<%= menu.link %>">
<%= menu.name %>
</a>
<% }); %>
</div>
</div>
<div class="menu" id="mobile-menu">
<% menus.forEach(function (menu) { %>
<a class="menu-item" href="<%= menu.link %>">
<%= menu.name %>
</a>
<% }); %>
</div>
</div>
</nav>
</nav>
</header>
<script>
var mobileBtn = function f() {
Expand Down

0 comments on commit ddc2933

Please sign in to comment.