Skip to content

Commit

Permalink
adjust valine
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaxi626 committed Sep 12, 2023
1 parent 4677841 commit 5d48d80
Show file tree
Hide file tree
Showing 92 changed files with 6,174 additions and 506 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Bitcron Pro的原作者为 [`Yuxiang Qiu`](https://github.com/yuxqiu) 原作品
9.更好的暗黑模式<br>
……

## 对Plus 版修改
## 对Plus 版修订
1、Valine评论可显示<br>
2、点哪条的回复,评论框就显示在此条评论下方<br>
3、打开Valine功能<br>
Expand Down
101 changes: 82 additions & 19 deletions README_en.md
Original file line number Diff line number Diff line change
@@ -1,69 +1,132 @@
# Gridea Theme Bitcron Pro Plus (for my own use)

![view 100+](https://img.shields.io/badge/view-100+-green.svg)

[![ Gridea 9.0+ ](https://img.shields.io/badge/Gridea-9.0+-yellow.svg)](https://gridea.dev "Gridea")

[![Valine Comment system](https://img.shields.io/badge/Valine-Comment%20system-blue.svg)](https://valine.js.org/ "Valine")

[![Aplayer Music](https://img.shields.io/badge/Aplayer-Music-lightyellow.svg)](https://aplayer.js.org/ "Aplayer")

[![Live2D Widget](https://img.shields.io/badge/Live2D-Widget-orange.svg)](https://github.com/stevenjoezhang/live2d-widget "Live2D-widget")

<br>

[中文版](./README.md)<br>

The original author of Bitcron Pro Plus is [ `Wu-jiyan`](https://github.com/Wu-jiyan) 原作品链接:<https://github.com/Wu-jiyan/gridea-theme-bitcron-pro-plus>

The original author of Bitcron Pro is [ `Yuxiang Qiu`](https://github.com/yuxqiu) Link to Bitcron Pro: <https://github.com/yuxqiu/bitcron-pro>

<br>

**Made without the authorization of the author**

<br>

***

## Features of Bitcron Pro:

1. Picture enlargement<br>

2. Reading time and word count of articles<br>

3. Toc directory support<br>

4. Dark mode<br>

5. Add more social styles<br>

6. Statistics of total visits to the website<br>

7. Conversion of complex and simplified forms<br>

8. Katex support (see [`This article`](https://blog.blinkstar.cn/post/katex/) for details)<br>

9. Add the function of displaying the cover<br>

10. Search function (using [ `Gridea-search open source project`](https://github.com/tangkaichuan/gridea-search), note: Gridea version 9.0 or above is required for normal use)<br>

11. Code highlighting<br>

12. Add a picture introduction<br>
...
## Added in Plus version:
1.Value Review System<br>
2.Live2D Kanban<br>
3.ALayer Music Player<br>
4.friend chain<br>
5.Web Pop-up<br>
6.More customization<br>
7.About<br>
8.CopyRight Information<br>
9.Better dark mode<br>
...
## Changes to the Plus version:
1. Valine comments can be displayed<br>
2. Click on which reply, and the comment box will be displayed below this comment<br>
3. Turn on the Valine function<br>


...

## Added in Plus version:

1.Value Review System<br>

2.Live2D Kanban<br>

3.ALayer Music Player<br>

4.friend chain<br>

5.Web Pop-up<br>

6.More customization<br>

7.About<br>

8.CopyRight Information<br>

9.Better dark mode<br>

...

## Changes to the Plus version:

13. Valine comments can be displayed<br>

14. Click on which reply, and the comment box will be displayed below this comment<br>

15. Turn on the Valine function<br>

- Automatically get QQ nickname and QQ avatar

- Comment list pagination

- Record commenter IP

- Required fields [Nickname, Email]

- Custom emoticons

4. Valine comments add a word/verse of the day<br>

5. Add a background image to the comment input interface<br>

6. Hide the comment system Valine Powered By information<br>

7. Review avatar rotation<br>
...

...

***

# How to use

## Install the theme

After installing Gridea, go to [ `releases`](https://github.com/Wu-jiyan/gridea-theme-bitcron-pro-plus/releases) on this page to download the latest version or [ `use Ghproxy acceleration`](https://ghproxy.com/https://github.com/Wu-jiyan/gridea-theme-bitcron-pro-plus/releases/)

<br>

Then add the archive `unzip` to `C:\Users\%username%\Document\Gridea\themes` (the default folder) or to a folder you have customized in Gridea<br>

![image](https://user-images.githubusercontent.com/107091865/197385637-e653b39d-e2fd-45eb-b4ef-85b9742cea94.png)

<br>

In Gridea, select a `Bitcron Pro Plus` theme<br>

![image](https://user-images.githubusercontent.com/107091865/197385664-33f517d7-0995-4443-84b8-edf454f33d4c.png)

## Revise

For details, see: ['Revise'](https://xiaxi626.github.io/post/bitcron-pro-plus-zhu-ti-xiu-gai-zi-yong)<br>

**Well, that"s all for the tutorial, and let"s start a fun blog trip. **

48 changes: 44 additions & 4 deletions about/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta name="apple-mobile-web-app-status-bar-style"content="black"/>
<meta name="format-detection"content="telephone=no"/>
<meta name="renderer"content="webkit">
<meta name="description"content="">
<meta name="description"content="温故而知新">
<meta charset="UTF-8">
<title>关于 - 飞爱碧玉的个人博客</title>

Expand All @@ -19,7 +19,46 @@

<!-- DEMO CSS -->
<style type="text/css">

.github-badge {
display: inline-block;
border-radius: 4px;
text-shadow: none;
font-size: 12px;
color: #fff;
line-height: 1.25;
margin-bottom: 5px
}

.github-badge a {
color: #fff
}

.github-badge .badge-subject {
display: inline-block;
background-color: #555;
padding: 4px 4px 4px 6px;
border-top-left-radius: 4px;
border-bottom-left-radius: 4px
}

.github-badge .badge-value {
display: inline-block;
padding: 4px 6px 4px 4px;
border-top-right-radius: 4px;
border-bottom-right-radius: 4px
}

.github-badge .bg-blue {
background-color: #007ec6 !important
}

.github-badge .bg-green {
background-color: #97ca00 !important
}

#footer span {
font-size: .9em
}
</style>

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex/dist/katex.min.css">
Expand All @@ -34,7 +73,7 @@
<div style="float:right;margin-top:1em"><form id="gridea-search-form" data-update="1578893743252" action="/search/index.html"><input class="search-input" autocomplete="off" spellcheck="false" name="q" placeholder="搜索..."></form></div><div style="margin-left:0.5em;margin-top:1.2em"><input id="switch_default" onclick="mobileBtn()" type="checkbox" class="switch_default"><label for="switch_default" class="toggleBtn"></label></div></div>
<div class="clear clear_nav_inline_end"></div></div></div><div class="clear clear_nav_end"></div></div></div><div class="hamberger" href="javascript:void(0)" onclick="btn_toggle();"><i class="iconfont icon-category"></i></div></div></div></div>
<div id="hn" class="no-js hidden_nav animated fadeInDown"><div class="bitcron_nav_container"><div class="bitcron_nav"><nav class="mixed_site_nav_wrap site_nav_wrap"><ul class="mixed_site_nav site_nav sm sm-base"> <li><a id="d2ef19af68cc211e98f8a0242ac110003" href="/" class="selected active current nav__item" >首页</a></li><li><a id="d2ef19af68cc211e98f8a0242ac110003" href="/archives" class="selected active current nav__item" >归档</a></li><li><a id="d2ef19af68cc211e98f8a0242ac110003" href="/tags" class="selected active current nav__item" >标签</a></li><li><a id="d2ef19af68cc211e98f8a0242ac110003" href="/post/about" class="selected active current nav__item" >关于</a></li><li><a id="d2ef19af68cc211e98f8a0242ac110003" href="/friends" class="selected active current nav__item" >友情链接</a></li></ul><div class="clear clear_nav_inline_end"></div></nav></div><div class="clear clear_nav_end"></div></div>
<div style="display:flex;justify-content:center;inline-block;text-align:center;margin-top:7%"><div><form id="gridea-search-form" data-update="1693490701625" action="/search/index.html"><input class="search-input" autocomplete="off" spellcheck="false" name="q" placeholder="搜索..." /></form></div><div style="margin-left:0.5em"><input id="switch_default_h" onclick="mobileBtn()" type="checkbox" class="switch_default"><label for="switch_default" class="toggleBtn"></label></div></div>
<div style="display:flex;justify-content:center;inline-block;text-align:center;margin-top:7%"><div><form id="gridea-search-form" data-update="1694487788303" action="/search/index.html"><input class="search-input" autocomplete="off" spellcheck="false" name="q" placeholder="搜索..." /></form></div><div style="margin-left:0.5em"><input id="switch_default_h" onclick="mobileBtn()" type="checkbox" class="switch_default"><label for="switch_default" class="toggleBtn"></label></div></div>
</div></div>
<script>function enableDarkmode(){document.body.classList.add("darkmode"),document.getElementById("switch_default").checked=1,document.getElementById("switch_default_h").checked=1}function removeDarkmode(){document.body.classList.remove("darkmode"),document.getElementById("switch_default").checked=0,document.getElementById("switch_default_h").checked=0}function getCookie(a){var b,c=new RegExp("(^| )"+a+"=([^;]*)(;|$)");return(b=document.cookie.match(c))?unescape(b[2]):null}cookie=getCookie("darkmode"),"enable"==cookie&&enableDarkmode(),window.matchMedia("(prefers-color-scheme: dark)").matches&&"disable"!==cookie&&(enableDarkmode(),document.cookie="darkmode=enable; path=/");var mobileBtn=function(){1==document.getElementById("switch_default").checked?(enableDarkmode(),document.cookie="darkmode=enable; path=/"):(removeDarkmode(),document.cookie="darkmode=disable; path=/")};</script>

Expand Down Expand Up @@ -71,7 +110,8 @@
<script src="https://unpkg.com/[email protected]/dist/Meting.min.js"></script>


<a id="scrollUp" href="#" style="position: fixed; z-index: 2147483647; display: block;"></a><div class="footer animated fadeInDown"><div class="site_footer"><div class="mysocials"><div class="my_socials"><a href="https://weibo.com/6392902197"title="weibo"><i class="iconfont icon-weibo"></i></a><a href="https://github.com/xiaxi626"title="github"><i class="iconfont icon-github"></i></a><a href="[email protected]"title="envelope"><i class="iconfont icon-envelope"></i></a><a href="https://xiaxi626.github.io/atom.xml"title="rss"><i class="iconfont icon-rss"></i></a><a href="https://www.zhihu.com/people/xiao-yan-shi-36"title="zhihu"><i class="iconfont icon-zhihu"></i></a></div></div><div class="copyright"id="copyright">Copyright © <a href="https://xiaxi626.github.io" style="margin:0;">飞爱碧玉的个人博客</a>.</div>
<a id="scrollUp" href="#" style="position: fixed; z-index: 2147483647; display: block;"></a><div class="footer animated fadeInDown"><div class="site_footer"><div class="mysocials"><div class="my_socials"><a href="https://weibo.com/6392902197"title="weibo"><i class="iconfont icon-weibo"></i></a><a href="https://github.com/xiaxi626"title="github"><i class="iconfont icon-github"></i></a><a href="[email protected]"title="envelope"><i class="iconfont icon-envelope"></i></a><a href="https://xiaxi626.github.io/atom.xml"title="rss"><i class="iconfont icon-rss"></i></a><a href="https://www.zhihu.com/people/xiao-yan-shi-36"title="zhihu"><i class="iconfont icon-zhihu"></i></a></div></div><div class="copyright"id="copyright">Powered by <a href="https://github.com/getgridea/gridea" target="_blank">Gridea</a>Copyright © <a href="https://xiaxi626.github.io" style="margin:0;">飞爱碧玉的个人博客</a>.</div>
<div><div class="github-badge"><a href="https://open.gridea.dev" target="_blank" rel="nofollow"><span class="badge-subject">Powered by</span><span class="badge-value bg-blue">Gridea</span></a></div><div style="display: inline-block">&nbsp;</div><div class="github-badge"><a href="https://github.com/Wu-jiyan/gridea-theme-bitcron-pro-plus" target="_blank" rel="nofollow"><span class="badge-subject">Theme</span><span class="badge-value bg-green">Bitcron Pro Plus</span></a></div></div>
<span style="display: inline;margin-right:15px;">👁<strong><span id="busuanzi_value_site_pv"></span></strong></span>
<span style="display: inline;margin-right:15px;">👤<strong><span id="busuanzi_value_site_uv"></span></strong></span>
<span>📚<strong>63</strong> posts</span>
Expand Down
2 changes: 1 addition & 1 deletion api-content/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api-info/index.html

Large diffs are not rendered by default.

48 changes: 44 additions & 4 deletions archives/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="apple-mobile-web-app-status-bar-style"content="black"/>
<meta name="format-detection"content="telephone=no"/>
<meta name="renderer"content="webkit">
<meta name="description"content="">
<meta name="description"content="温故而知新">
<meta charset="UTF-8">
<title>Archives | 飞爱碧玉的个人博客</title>

Expand All @@ -20,7 +20,46 @@

<!-- DEMO CSS -->
<style type="text/css">

.github-badge {
display: inline-block;
border-radius: 4px;
text-shadow: none;
font-size: 12px;
color: #fff;
line-height: 1.25;
margin-bottom: 5px
}

.github-badge a {
color: #fff
}

.github-badge .badge-subject {
display: inline-block;
background-color: #555;
padding: 4px 4px 4px 6px;
border-top-left-radius: 4px;
border-bottom-left-radius: 4px
}

.github-badge .badge-value {
display: inline-block;
padding: 4px 6px 4px 4px;
border-top-right-radius: 4px;
border-bottom-right-radius: 4px
}

.github-badge .bg-blue {
background-color: #007ec6 !important
}

.github-badge .bg-green {
background-color: #97ca00 !important
}

#footer span {
font-size: .9em
}
</style>

</head>
Expand All @@ -34,7 +73,7 @@
<div style="float:right;margin-top:1em"><form id="gridea-search-form" data-update="1578893743252" action="/search/index.html"><input class="search-input" autocomplete="off" spellcheck="false" name="q" placeholder="搜索..."></form></div><div style="margin-left:0.5em;margin-top:1.2em"><input id="switch_default" onclick="mobileBtn()" type="checkbox" class="switch_default"><label for="switch_default" class="toggleBtn"></label></div></div>
<div class="clear clear_nav_inline_end"></div></div></div><div class="clear clear_nav_end"></div></div></div><div class="hamberger" href="javascript:void(0)" onclick="btn_toggle();"><i class="iconfont icon-category"></i></div></div></div></div>
<div id="hn" class="no-js hidden_nav animated fadeInDown"><div class="bitcron_nav_container"><div class="bitcron_nav"><nav class="mixed_site_nav_wrap site_nav_wrap"><ul class="mixed_site_nav site_nav sm sm-base"> <li><a id="d2ef19af68cc211e98f8a0242ac110003" href="/" class="selected active current nav__item" >首页</a></li><li><a id="d2ef19af68cc211e98f8a0242ac110003" href="/archives" class="selected active current nav__item" >归档</a></li><li><a id="d2ef19af68cc211e98f8a0242ac110003" href="/tags" class="selected active current nav__item" >标签</a></li><li><a id="d2ef19af68cc211e98f8a0242ac110003" href="/post/about" class="selected active current nav__item" >关于</a></li><li><a id="d2ef19af68cc211e98f8a0242ac110003" href="/friends" class="selected active current nav__item" >友情链接</a></li></ul><div class="clear clear_nav_inline_end"></div></nav></div><div class="clear clear_nav_end"></div></div>
<div style="display:flex;justify-content:center;inline-block;text-align:center;margin-top:7%"><div><form id="gridea-search-form" data-update="1693490701625" action="/search/index.html"><input class="search-input" autocomplete="off" spellcheck="false" name="q" placeholder="搜索..." /></form></div><div style="margin-left:0.5em"><input id="switch_default_h" onclick="mobileBtn()" type="checkbox" class="switch_default"><label for="switch_default" class="toggleBtn"></label></div></div>
<div style="display:flex;justify-content:center;inline-block;text-align:center;margin-top:7%"><div><form id="gridea-search-form" data-update="1694487788303" action="/search/index.html"><input class="search-input" autocomplete="off" spellcheck="false" name="q" placeholder="搜索..." /></form></div><div style="margin-left:0.5em"><input id="switch_default_h" onclick="mobileBtn()" type="checkbox" class="switch_default"><label for="switch_default" class="toggleBtn"></label></div></div>
</div></div>
<script>function enableDarkmode(){document.body.classList.add("darkmode"),document.getElementById("switch_default").checked=1,document.getElementById("switch_default_h").checked=1}function removeDarkmode(){document.body.classList.remove("darkmode"),document.getElementById("switch_default").checked=0,document.getElementById("switch_default_h").checked=0}function getCookie(a){var b,c=new RegExp("(^| )"+a+"=([^;]*)(;|$)");return(b=document.cookie.match(c))?unescape(b[2]):null}cookie=getCookie("darkmode"),"enable"==cookie&&enableDarkmode(),window.matchMedia("(prefers-color-scheme: dark)").matches&&"disable"!==cookie&&(enableDarkmode(),document.cookie="darkmode=enable; path=/");var mobileBtn=function(){1==document.getElementById("switch_default").checked?(enableDarkmode(),document.cookie="darkmode=enable; path=/"):(removeDarkmode(),document.cookie="darkmode=disable; path=/")};</script>

Expand All @@ -53,7 +92,8 @@
<script src="https://unpkg.com/[email protected]/dist/Meting.min.js"></script>


<a id="scrollUp" href="#" style="position: fixed; z-index: 2147483647; display: block;"></a><div class="footer animated fadeInDown"><div class="site_footer"><div class="mysocials"><div class="my_socials"><a href="https://weibo.com/6392902197"title="weibo"><i class="iconfont icon-weibo"></i></a><a href="https://github.com/xiaxi626"title="github"><i class="iconfont icon-github"></i></a><a href="[email protected]"title="envelope"><i class="iconfont icon-envelope"></i></a><a href="https://xiaxi626.github.io/atom.xml"title="rss"><i class="iconfont icon-rss"></i></a><a href="https://www.zhihu.com/people/xiao-yan-shi-36"title="zhihu"><i class="iconfont icon-zhihu"></i></a></div></div><div class="copyright"id="copyright">Copyright © <a href="https://xiaxi626.github.io" style="margin:0;">飞爱碧玉的个人博客</a>.</div>
<a id="scrollUp" href="#" style="position: fixed; z-index: 2147483647; display: block;"></a><div class="footer animated fadeInDown"><div class="site_footer"><div class="mysocials"><div class="my_socials"><a href="https://weibo.com/6392902197"title="weibo"><i class="iconfont icon-weibo"></i></a><a href="https://github.com/xiaxi626"title="github"><i class="iconfont icon-github"></i></a><a href="[email protected]"title="envelope"><i class="iconfont icon-envelope"></i></a><a href="https://xiaxi626.github.io/atom.xml"title="rss"><i class="iconfont icon-rss"></i></a><a href="https://www.zhihu.com/people/xiao-yan-shi-36"title="zhihu"><i class="iconfont icon-zhihu"></i></a></div></div><div class="copyright"id="copyright">Powered by <a href="https://github.com/getgridea/gridea" target="_blank">Gridea</a>Copyright © <a href="https://xiaxi626.github.io" style="margin:0;">飞爱碧玉的个人博客</a>.</div>
<div><div class="github-badge"><a href="https://open.gridea.dev" target="_blank" rel="nofollow"><span class="badge-subject">Powered by</span><span class="badge-value bg-blue">Gridea</span></a></div><div style="display: inline-block">&nbsp;</div><div class="github-badge"><a href="https://github.com/Wu-jiyan/gridea-theme-bitcron-pro-plus" target="_blank" rel="nofollow"><span class="badge-subject">Theme</span><span class="badge-value bg-green">Bitcron Pro Plus</span></a></div></div>
<span style="display: inline;margin-right:15px;">👁<strong><span id="busuanzi_value_site_pv"></span></strong></span>
<span style="display: inline;margin-right:15px;">👤<strong><span id="busuanzi_value_site_uv"></span></strong></span>
<span>📚<strong>63</strong> posts</span>
Expand Down
Loading

0 comments on commit 5d48d80

Please sign in to comment.