Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
IT.BOB
TRHX-github-io
提交
2e83cf6f
T
TRHX-github-io
项目概览
IT.BOB
/
TRHX-github-io
通知
16
Star
2
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
42
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TRHX-github-io
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
42
Issue
42
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
2e83cf6f
编写于
12月 31, 2019
作者:
T
TRHX
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Back up my www.itrhx.com blog
上级
8849cfbc
变更
10
展开全部
隐藏空白更改
内联
并排
Showing
10 changed file
with
724 addition
and
56 deletion
+724
-56
source/_posts/A04-Hexo-blog-topic-personalization.md
source/_posts/A04-Hexo-blog-topic-personalization.md
+9
-1
source/_posts/A23-beian.md
source/_posts/A23-beian.md
+2
-2
source/friends/index.md
source/friends/index.md
+2
-19
themes/material-x-1.2.1/_config.yml
themes/material-x-1.2.1/_config.yml
+12
-11
themes/material-x-1.2.1/layout/_partial/cover.ejs
themes/material-x-1.2.1/layout/_partial/cover.ejs
+23
-14
themes/material-x-1.2.1/layout/_partial/footer.ejs
themes/material-x-1.2.1/layout/_partial/footer.ejs
+1
-1
themes/material-x-1.2.1/layout/layout.ejs
themes/material-x-1.2.1/layout/layout.ejs
+8
-6
themes/material-x-1.2.1/source/js/ClickShowText.js
themes/material-x-1.2.1/source/js/ClickShowText.js
+1
-1
themes/material-x-1.2.1/source/js/snow.js
themes/material-x-1.2.1/source/js/snow.js
+0
-1
themes/material-x-1.2.1/source/js/snow3.js
themes/material-x-1.2.1/source/js/snow3.js
+666
-0
未找到文件。
source/_posts/A04-Hexo-blog-topic-personalization.md
浏览文件 @
2e83cf6f
...
...
@@ -224,7 +224,15 @@ function delay() {
}
```
其中的社会主义核心价值观可以根据你自己的创意替换为其他文字,然后在
<font
color=
#FF0000
>
\t
hemes
\h
exo-theme-spfk
\l
ayout
\l
ayout.ejs
</font>
文件末尾添加以下代码:
其中的社会主义核心价值观可以根据你自己的创意替换为其他文字
如果想要每次点击显示的文字为不同颜色,可以将其中
`color`
值进行如下更改:
```
js
"
color
"
:
"
rgb(
"
+
~~
(
255
*
Math
.
random
())
+
"
,
"
+
~~
(
255
*
Math
.
random
())
+
"
,
"
+
~~
(
255
*
Math
.
random
())
+
"
)
"
```
然后在
<font
color=
#FF0000
>
\t
hemes
\h
exo-theme-spfk
\l
ayout
\l
ayout.ejs
</font>
文件末尾添加以下代码:
```
html
<!--单击显示文字-->
...
...
source/_posts/A23-beian.md
浏览文件 @
2e83cf6f
...
...
@@ -4,8 +4,8 @@ tags:
-
ICP备案
-
公安备案
categories
:
-
WEB前端
-
Hexo
-
[
WEB前端
]
-
[
Hexo
]
description
:
为了规范互联网信息服务活动,促进互联网信息服务健康有序发展,国家相关部门要求在国内的所有网站都必须备案(使用海外服务器则不需要备案),未备案的域名不能使用国内服务器。部分推广平台也需要备案才可以开通。
thumbnail
:
https://cdn.jsdelivr.net/gh/TRHX/ImageHosting/ITRHX-PIC/thumbnail/NationalEmblem.png
avatar
:
https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@2.1.9/images/trhx.png
...
...
source/friends/index.md
浏览文件 @
2e83cf6f
...
...
@@ -236,9 +236,9 @@ links:
tags
:
-
ACM
-
name
:
暗
部精英
-
name
:
暗
影
avatar
:
https://cdn.jsdelivr.net/gh/TRHX/ImageHosting/ITRHX-LINKS/anbujingying.jpg
url
:
https://dsanying.
coding.me
/
url
:
https://dsanying.
github.io
/
backgroundColor
:
'
#53AECA'
textColor
:
'
#fff'
tags
:
...
...
@@ -274,15 +274,6 @@ links:
tags
:
-
世间所有的相遇,都是久别重逢
-
name
:
拾柴者博客
avatar
:
https://cdn.jsdelivr.net/gh/TRHX/ImageHosting/ITRHX-LINKS/scpro.jpg
url
:
http://www.scpro.cn/
backgroundColor
:
'
#71BCFF'
textColor
:
'
#fff'
tags
:
-
Java
-
技术分享
-
name
:
KAYGB
avatar
:
https://cdn.jsdelivr.net/gh/TRHX/ImageHosting/ITRHX-LINKS/kaygb.png
url
:
https://kaygb.top/
...
...
@@ -368,14 +359,6 @@ links:
textColor
:
'
#fff'
tags
:
-
记录爱情❤️记录生活
-
name
:
曾超凡❤谭庭仿的blog~
avatar
:
https://cdn.jsdelivr.net/gh/TRHX/ImageHosting/ITRHX-LINKS/tantingfang.jpg
url
:
http://blog.tantingfang.cn/
backgroundColor
:
'
#FF69B4'
textColor
:
'
#fff'
tags
:
-
爱是艰辛 是陪伴 是一路仁至义尽.
-
name
:
晨哥❤️芸霄的小窝
avatar
:
https://cdn.jsdelivr.net/gh/TRHX/ImageHosting/ITRHX-LINKS/fengyunxiao.png
...
...
themes/material-x-1.2.1/_config.yml
浏览文件 @
2e83cf6f
...
...
@@ -4,11 +4,11 @@ info:
docs
:
https://xaoxuu.com/wiki/material-x/
cdn
:
# 把对应的那一行注释掉就使用本地的文件
css
:
style
:
https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.
4
/css/style.css
style
:
https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.
6
/css/style.css
js
:
app
:
https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.
4
/js/app.js
search
:
https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.
4
/js/search.js
volantis
:
https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.
4
/js/volantis.min.js
app
:
https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.
6
/js/app.js
search
:
https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.
6
/js/search.js
volantis
:
https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.
6
/js/volantis.min.js
...
...
@@ -38,7 +38,7 @@ music:
autoplay
:
false
# 自动播放
# 友链页头像占位图
avatar_placeholder
:
https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.
4
/images/bitmap.gif
avatar_placeholder
:
https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.
6
/images/bitmap.gif
# 文章字数统计、阅读时长
word_count
:
true
...
...
@@ -53,8 +53,9 @@ backstretch:
duration
:
5000
# 持续时间(毫秒)
fade
:
1500
# 渐变(毫秒)
images
:
-
https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.4/images/background/022.webp
#- https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.4/images/background/021.webp
-
https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.6/images/background/023.webp
#- https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.6/images/background/022.webp
#- https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.6/images/background/021.webp
############################### 自定义 ###############################
...
...
@@ -63,7 +64,7 @@ cover:
scheme
:
search
# 后期将会提供多种封面方案
height
:
half
# full(默认值): 首页封面占据整个第一屏幕,其他页面占半个屏幕高度, half: 所有页面都封面都只占半个屏幕高度
# title: "TRHX'S BLOG"
logo
:
https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.
4
/images/logo.png
# logo和title只显示一个,若同时设置,则只显示logo
logo
:
https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.
6
/images/logo.png
# logo和title只显示一个,若同时设置,则只显示logo
search_placeholder
:
'
世界之大,探索一下!'
# 主页封面菜单
features
:
...
...
@@ -147,7 +148,7 @@ body: [article, comments]
# 侧边栏小部件,默认按下面给定的顺序全部显示,文章中还可以自定义显示一部分以及顺序
sidebar
:
-
widget
:
author
avatar
:
https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.
4
/images/trhx.png
avatar
:
https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.
6
/images/trhx.png
title
:
TRHX'S BLOG
body
:
Stay Hungry, Stay Foolish!
social
:
true
...
...
@@ -183,7 +184,7 @@ sidebar:
-
widget
:
plain
icon
:
fas fa-map-marked-alt
title
:
访客地图
body
:
'
<
center><script
type="text/javascript"
src="//rf.revolvermaps.com/0/0/4.js?i=5eyl60h41k1&m=6&h=122&c=ff0000&r=30"
async="async"></script></center
>'
body
:
'
<
div
style="position:
relative;"><script
type="text/javascript"
src="//rf.revolvermaps.com/0/0/4.js?i=5eyl60h41k1&m=6&h=122&c=ff0000&r=30"
async="async"></script></div
>'
more
:
icon
:
fas fa-info-circle
url
:
https://www.revolvermaps.com/
...
...
@@ -191,7 +192,7 @@ sidebar:
-
widget
:
plain
icon
:
fas fa-comments
title
:
交流群组
body
:
'
<img
src="https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.
4
/images/groups.png"><a
id="goroups_button"
class="goroups_button_new"
target="_blank"
href="https://jq.qq.com/?_wv=1027&k=5F6HRuG">QQ
交流群</a><a
id="goroups_button"
class="goroups_button_new"
target="_blank"
href="https://t.me/hexoisthebest">Telegram
交流群</a>'
body
:
'
<img
src="https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.
6
/images/groups.png"><a
id="goroups_button"
class="goroups_button_new"
target="_blank"
href="https://jq.qq.com/?_wv=1027&k=5F6HRuG">QQ
交流群</a><a
id="goroups_button"
class="goroups_button_new"
target="_blank"
href="https://t.me/hexoisthebest">Telegram
交流群</a>'
# - widget: list
# icon: fas fa-link
# title: 特别链接
...
...
themes/material-x-1.2.1/layout/_partial/cover.ejs
浏览文件 @
2e83cf6f
<% if (showCover == true) { %>
<div class="cover-wrapper">
<cover class='cover <%- page.layout %> <%- is_home() ? theme.cover.height : "half" %>'>
<% if (theme.cover.scheme == 'search') { %>
<%- partial('../_cover/search') %>
<% } %>
<br>
<!-- Hitokoto 一言 -->
<!--<p id="hitokoto"></p>
<div class="cover-wrapper">
<cover class='cover <%- page.layout %> <%- is_home() ? theme.cover.height : "half" %>'>
<% if (theme.cover.scheme == 'search') { %>
<%- partial('../_cover/search') %>
<% } %>
<br>
<!-- Hitokoto 一言 -->
<!--<p id="hitokoto"></p>
<script src="https://cdn.jsdelivr.net/npm/bluebird@3/js/browser/bluebird.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/whatwg-fetch@2.0.3/fetch.min.js"></script>
<script src="https://v1.hitokoto.cn/?encode=js&select=%23hitokoto" defer></script>-->
</cover>
<%- partial('header', null, {cache: false, path: path}) %>
</div>
<% } else { %>
<script src="https://v1.hitokoto.cn/?encode=js&select=%23hitokoto" defer></script>-->
<!-- 打字特效 -->
<script src="https://cdn.jsdelivr.net/npm/typed.js@2.0.11"></script>
<div style="text-align: center;font-weight: bold;color: #1BC3FB;">
<span id="subtitle"></span>
<span id="typed-cursor"></span>
</div>
<script>
var typed = new Typed("#subtitle", { strings: ["Live a good life, write some good code !!!", "愿自己的努力终将获得回报。", "花开不是为了花落,而是为了开的更加灿烂。", "没有伞的孩子必须努力奔跑!", "欲望以提升热忱,毅力以磨平高山。", "如果放弃太早,你永远都不知道自己会错过什么。", "没有礁石,就没有美丽的浪花;没有挫折,就没有壮丽的人生。"], startDelay: 1000, typeSpeed: 100, loop: !0, backSpeed: 60, backDelay: 2000, showCursor: !0 })
</script>
</cover>
<%- partial('header', null, {cache: false, path: path}) %>
<% } %>
</div>
<% } else { %>
<%- partial('header', null, {cache: false, path: path}) %>
<% } %>
\ No newline at end of file
themes/material-x-1.2.1/layout/_partial/footer.ejs
浏览文件 @
2e83cf6f
...
...
@@ -21,7 +21,7 @@
<br>
Copyright <i class="far fa-copyright"></i> 2018-<%= date(new Date(), 'YYYY') %>
<a href="https://www.itrhx.com/" target="_blank"> <%= config.author || config.title %> </a> |
<img src="https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.
4
/images/icp.png">
<img src="https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.
6
/images/icp.png">
<a href="http://www.beian.miit.gov.cn/" target="_blank">鄂ICP备19003281号-4</a> |
<!-- 网站运行时间 -->
<span id="timeDate">正在载入...</span><span id="times"><span><i class="fa fa-spinner fa-spin"> </i></span></span>
...
...
themes/material-x-1.2.1/layout/layout.ejs
浏览文件 @
2e83cf6f
...
...
@@ -65,23 +65,25 @@
<!-- 十年之约 -->
<!--<a target="_blank" href="http://join.foreverblog.cn" style="position:fixed;z-index:999;right:-5px;bottom: 25px;display: inline-block;width: 35px;border-radius: 5px;color:white;font-size:14px;line-height:17px;background: #1BC3FB;box-shadow: 0 0 5px #666;word-wrap: break-word;padding: 10px 6px;border: 2px solid white;">十年之约</a>-->
<!-- 单击显示文字 -->
<script
type=
"text/javascript"
src=
"https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.4/js/ClickShowText.js"
></script>
<script
type=
"text/javascript"
src=
"https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.6/js/ClickShowText.js"
></script>
<!-- 点击冒点 -->
<canvas
width=
"1777"
height=
"841"
style=
"position: fixed; left: 0px; top: 0px; z-index: 2147483647; pointer-events: none;"
></canvas><script
src=
"https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.6/js/maodian.js"
></script>
<!-- 浏览器搞笑标题 -->
<script
type=
"text/javascript"
src=
"https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.
4
/js/FunnyTitle.js"
></script>
<script
type=
"text/javascript"
src=
"https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.
6
/js/FunnyTitle.js"
></script>
<!-- 样式一(鼠标点击更换样式) -->
<!--<script src="https://g.joyinshare.com/hc/ribbon.min.js" type="text/javascript"></script>-->
<!-- 样式二(飘动的彩带) -->
<!--<script src="https://g.joyinshare.com/hc/piao.js" type="text/javascript"></script>-->
<!-- 数字雨 -->
<!--<canvas id="canvas" width="1920" height="1080"></canvas>
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.
4
/js/DigitalRain.js"></script>-->
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.
6
/js/DigitalRain.js"></script>-->
<!--动态线条背景-->
<!--<script type="text/javascript" color="27,195,251" opacity='0.7' zIndex="-5" count="200" src="//cdn.bootcss.com/canvas-nest.js/1.0.0/canvas-nest.min.js"></script>-->
<!-- 速度优化脚本 -->
<script
src=
"https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.
4
/js/instantclick-1.2.2.js"
type=
"module"
></script>
<script
src=
"https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.
6
/js/instantclick-1.2.2.js"
type=
"module"
></script>
<!-- 悟空 -->
<!--<div id="wukong"><marquee direction="right"><img src="https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.
4
/images/wukong.gif"></marquee></div>-->
<!--<div id="wukong"><marquee direction="right"><img src="https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.
6
/images/wukong.gif"></marquee></div>-->
<!-- 雪花 -->
<script
src=
"https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.
4/js/snow
.js"
></script>
<script
src=
"https://cdn.jsdelivr.net/gh/TRHX/CDN-for-itrhx.com@3.0.
6/js/snow3
.js"
></script>
</body>
</html>
themes/material-x-1.2.1/source/js/ClickShowText.js
浏览文件 @
2e83cf6f
...
...
@@ -13,7 +13,7 @@ jQuery(document).ready(function($) {
"
left
"
:
x
,
"
position
"
:
"
absolute
"
,
"
font-weight
"
:
"
bold
"
,
"
color
"
:
"
#FF0000
"
"
color
"
:
"
rgb(
"
+
~~
(
255
*
Math
.
random
())
+
"
,
"
+
~~
(
255
*
Math
.
random
())
+
"
,
"
+
~~
(
255
*
Math
.
random
())
+
"
)
"
});
$
(
"
body
"
).
append
(
$i
);
$i
.
animate
({
...
...
themes/material-x-1.2.1/source/js/snow.js
已删除
100644 → 0
浏览文件 @
8849cfbc
(
function
(
$
){
$
.
fn
.
snow
=
function
(
options
){
var
$flake
=
$
(
'
<div id="snowbox" />
'
).
css
({
"
position
"
:
"
absolute
"
,
"
z-index
"
:
"
9999
"
,
"
top
"
:
"
-50px
"
}).
html
(
"
❄
"
),
documentHeight
=
$
(
document
).
height
(),
documentWidth
=
$
(
document
).
width
(),
defaults
=
{
minSize
:
10
,
maxSize
:
20
,
newOn
:
1000
,
flakeColor
:
"
#AFDAEF
"
},
options
=
$
.
extend
({},
defaults
,
options
);
var
interval
=
setInterval
(
function
(){
var
startPositionLeft
=
Math
.
random
()
*
documentWidth
-
100
,
startOpacity
=
0.5
+
Math
.
random
(),
sizeFlake
=
options
.
minSize
+
Math
.
random
()
*
options
.
maxSize
,
endPositionTop
=
documentHeight
-
200
,
endPositionLeft
=
startPositionLeft
-
500
+
Math
.
random
()
*
500
,
durationFall
=
documentHeight
*
10
+
Math
.
random
()
*
5000
;
$flake
.
clone
().
appendTo
(
"
body
"
).
css
({
left
:
startPositionLeft
,
opacity
:
startOpacity
,
"
font-size
"
:
sizeFlake
,
color
:
options
.
flakeColor
}).
animate
({
top
:
endPositionTop
,
left
:
endPositionLeft
,
opacity
:
0.2
},
durationFall
,
"
linear
"
,
function
(){
$
(
this
).
remove
()})},
options
.
newOn
)}})(
jQuery
);
$
(
function
(){
$
.
fn
.
snow
({
minSize
:
5
,
maxSize
:
50
,
newOn
:
300
})});
\ No newline at end of file
themes/material-x-1.2.1/source/js/snow3.js
0 → 100644
浏览文件 @
2e83cf6f
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录