Skip to content

Commit 1693e47

Browse files
committed
update basic info
1 parent d46db70 commit 1693e47

File tree

9 files changed

+97
-45
lines changed

9 files changed

+97
-45
lines changed

_config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
## Source: https://github.com/hexojs/hexo/
44

55
# Site
6-
title: A.P.C.科学联盟-在线图书馆
6+
title: A.P.C.科学联盟·在线图书馆
77
subtitle: '往期科普组文章汇总以及海量电子资源综合库'
88
description: 'A.P.C.科学联盟图书馆'
99
keywords:
1010
author: A君
11-
language: zh-cn
12-
timezone: ''
11+
language: zh-CN
12+
timezone: 'Asia/Shanghai'
1313

1414
# URL
1515
## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project'

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@
2929
"hexo-theme-butterfly": "^4.1.0",
3030
"hexo-theme-landscape": "^0.0.3"
3131
}
32-
}
32+
}

source/_data/link.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
- class_name: 天文书籍
2+
class_desc: 天文相关书籍,下列为测试link
3+
link_list:
4+
- name: Hexo
5+
link: https://hexo.io/zh-tw/
6+
avatar: https://d33wubrfki0l68.cloudfront.net/6657ba50e702d84afb32fe846bed54fba1a77add/827ae/logo.svg
7+
descr: 快速、简单且强大的网誌框架
8+
9+
- class_name: 物理书籍
10+
class_desc: test link
11+
link_list:
12+
- name: Youtube
13+
link: https://www.youtube.com/
14+
avatar: https://i.loli.net/2020/05/14/9ZkGg8v3azHJfM1.png
15+
descr: 视频网站
16+
- name: Weibo
17+
link: https://www.weibo.com/
18+
avatar: https://i.loli.net/2020/05/14/TLJBum386vcnI1P.png
19+
descr: 中国最大社交分享平臺
20+
- name: Twitter
21+
link: https://twitter.com/
22+
avatar: https://i.loli.net/2020/05/14/5VyHPQqR6LWF39a.png
23+
descr: 社交分享平臺

source/_posts/hello-world.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
---
22
title: Hello World
3+
date: 2018-01-05 00:00:00
4+
tag: ['test', '测试tag']
5+
categories: '测试分类'
6+
cover: https://s2.loli.net/2022/03/12/HXfvmLs9lzy7acO.png
7+
copyright_author: '时光'
38
---
49
Welcome to [Hexo](https://hexo.io/)! This is your very first post. Check [documentation](https://hexo.io/docs/) for more info. If you get any problems when using Hexo, you can find the answer in [troubleshooting](https://hexo.io/docs/troubleshooting.html) or you can ask me on [GitHub](https://github.com/hexojs/hexo/issues).
510

source/about/index.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
title: 关于我们
3+
date: 2022-03-12 22:17:49
4+
---
5+
6+
# 我们是谁?
7+
8+
先懒得写了,之后搬一下

source/categories/index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: 分类
3+
date: 2021-06-05 18:27:53
4+
type: "categories"
5+
---

source/link/index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: 在线资源
3+
date: 2018-06-07 22:17:49
4+
type: "link"
5+
---

source/tags/index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: 文章标签
3+
date: 2021-06-05 16:05:53
4+
type: "tags"
5+
---

themes/butterfly/_config.yml

Lines changed: 42 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
# --------------------------------------
44

55
menu:
6-
# Home: / || fas fa-home
7-
# Archives: /archives/ || fas fa-archive
8-
# Tags: /tags/ || fas fa-tags
9-
# Categories: /categories/ || fas fa-folder-open
6+
主页: / || fas fa-home
7+
时间轴: /archives/ || fas fa-archive
8+
标签: /tags/ || fas fa-tags
9+
分类: /categories/ || fas fa-folder-open
1010
# List||fas fa-list:
1111
# Music: /music/ || fas fa-music
1212
# Movie: /movies/ || fas fa-video
13-
# Link: /link/ || fas fa-link
14-
# About: /about/ || fas fa-heart
13+
资源: /link/ || fas fa-link
14+
关于我们: /about/ || fas fa-heart
1515

1616
# Code Blocks (代碼相關)
1717
# --------------------------------------
@@ -28,15 +28,17 @@ code_word_wrap: false
2828
copy:
2929
enable: true
3030
copyright:
31-
enable: false
31+
enable: true
3232
limit_count: 50
3333

3434
# social settings (社交圖標設置)
3535
# formal:
3636
# icon: link || the description
3737
social:
38-
# fab fa-github: https://github.com/xxxxx || Github
39-
# fas fa-envelope: mailto:[email protected] || Email
38+
fab fa-github: https://github.com/APC-ScienceUnion || Github
39+
fa-brands fa-bilibili: https://space.bilibili.com/358322010/?spm_id_from=333.999.0.0 || Bilibili
40+
fa-brands fa-qq: https://qm.qq.com/cgi-bin/qm/qr?k=mW2aAdiBaFHMoHIjCBYwMkKY5P8Oh1Ab&noverify=0 || QQ
41+
fa-brands fa-zhihu: https://www.zhihu.com/people/guinyshi-guang || 知乎
4042

4143
# search (搜索)
4244
# --------------------------------------
@@ -49,7 +51,7 @@ algolia_search:
4951

5052
# Local search
5153
local_search:
52-
enable: false
54+
enable: true
5355

5456
# Math (數學)
5557
# --------------------------------------
@@ -65,29 +67,29 @@ mathjax:
6567

6668
# KaTeX
6769
katex:
68-
enable: false
70+
enable: true
6971
per_page: false
7072
hide_scrollbar: true
7173

7274
# Image (圖片設置)
7375
# --------------------------------------
7476

7577
# Favicon(網站圖標)
76-
favicon: /img/favicon.png
78+
favicon: https://s2.loli.net/2022/03/12/8KQmMuR4631x5lH.png
7779

7880
# Avatar (頭像)
7981
avatar:
80-
img: https://i.loli.net/2021/02/24/5O1day2nriDzjSu.png
82+
img: https://s2.loli.net/2022/03/12/qizCEtGb4hH2K5F.jpg
8183
effect: false
8284

8385
# Disable all banner image
8486
disable_top_img: false
8587

8688
# The banner image of home page
87-
index_img:
89+
index_img: https://s2.loli.net/2022/03/12/WMkjzE2pZiItc4U.jpg
8890

8991
# If the banner of page not setting, it will show the top_img
90-
default_top_img:
92+
default_top_img: https://s2.loli.net/2022/03/12/HeUwMNEzJo7Ou9v.png
9193

9294
# The banner image of archive page
9395
archive_img:
@@ -120,7 +122,7 @@ cover:
120122
position: both
121123
# When cover is not set, the default cover is displayed (當沒有設置cover時,默認的封面顯示)
122124
default_cover:
123-
# - https://i.loli.net/2020/05/01/gkihqEjXxJ5UZ1C.jpg
125+
- https://s2.loli.net/2022/03/12/RFyAuhOHdJnBXEY.jpg
124126

125127
# Replace Broken Images (替換無法顯示的圖片)
126128
error_img:
@@ -129,7 +131,7 @@ error_img:
129131

130132
# A simple 404 page
131133
error_404:
132-
enable: false
134+
enable: true
133135
subtitle: 'Page Not Found'
134136
background: https://i.loli.net/2020/05/19/aKOcLiyPl2JQdFD.png
135137

@@ -186,14 +188,11 @@ post_copyright:
186188

187189
# Sponsor/reward
188190
reward:
189-
enable: false
191+
enable: true
190192
QR_code:
191-
# - img: /img/wechat.jpg
192-
# link:
193-
# text: wechat
194-
# - img: /img/alipay.jpg
195-
# link:
196-
# text: alipay
193+
- img: https://s2.loli.net/2022/03/12/IO6b2cnYSCsfKoW.png
194+
link: https://afdian.net/@apc-library
195+
text: 爱发电(点击图片跳转)
197196

198197
# Post edit
199198
# Easily browse and edit blog source code online.
@@ -394,8 +393,8 @@ crisp:
394393
footer:
395394
owner:
396395
enable: true
397-
since: 2020
398-
custom_text:
396+
since: 2016
397+
custom_text: 感谢大家的到访~
399398
copyright: true # Copyright of theme and framework
400399

401400
# Analysis
@@ -485,10 +484,10 @@ tag_ui: # 留空或 index
485484
# Website Background (設置網站背景)
486485
# can set it to color or image (可設置圖片 或者 顔色)
487486
# The formal of image: url(http://xxxxxx.com/xxx.jpg)
488-
background:
487+
background: 'url(https://s2.loli.net/2022/03/13/ZQPhXmpEjWVwYsR.png)'
489488

490489
# Footer Background
491-
footer_bg: false
490+
footer_bg: true
492491

493492
# the position of bottom right button/default unit: px (右下角按鈕距離底部的距離/默認單位為px)
494493
rightside-bottom:
@@ -517,9 +516,9 @@ canvas_fluttering_ribbon:
517516
# canvas_nest
518517
# https://github.com/hustcc/canvas-nest.js
519518
canvas_nest:
520-
enable: false
521-
color: '0,0,255' #color of lines, default: '0,0,0'; RGB values: (R,G,B).(note: use ',' to separate.)
522-
opacity: 0.7 # the opacity of line (0~1), default: 0.5.
519+
enable: true
520+
color: '255,255,255' #color of lines, default: '0,0,0'; RGB values: (R,G,B).(note: use ',' to separate.)
521+
opacity: 0.9 # the opacity of line (0~1), default: 0.5.
523522
zIndex: -1 # z-index property of the background, default: -1.
524523
count: 99 # the number of lines, default: 99.
525524
mobile: false
@@ -568,14 +567,14 @@ beautify:
568567
# Global font settings
569568
# Don't modify the following settings unless you know how they work (非必要不要修改)
570569
font:
571-
global-font-size:
570+
global-font-size: 18px
572571
code-font-size:
573-
font-family:
572+
font-family: Times New Roman,"宋体",sans-serif
574573
code-font-family:
575574

576575
# Font settings for the site title and site subtitle
577576
# 左上角網站名字 主頁居中網站名字
578-
blog_title_font:
577+
blog_title_font:
579578
font_link:
580579
font-family:
581580

@@ -587,11 +586,11 @@ hr_icon:
587586

588587
# the subtitle on homepage (主頁subtitle)
589588
subtitle:
590-
enable: false
589+
enable: true
591590
# Typewriter Effect (打字效果)
592591
effect: true
593592
# loop (循環打字)
594-
loop: true
593+
loop: false
595594
# source 調用第三方服務
596595
# source: false 關閉調用
597596
# source: 1 調用一言網的一句話(簡體) https://hitokoto.cn/
@@ -600,7 +599,8 @@ subtitle:
600599
# subtitle 會先顯示 source , 再顯示 sub 的內容
601600
source: false
602601
# 如果關閉打字效果,subtitle 只會顯示 sub 的第一行文字
603-
sub:
602+
sub:
603+
- --在知识的海洋中寻找属于自己的岛屿--
604604

605605
# Loading Animation (加載動畫)
606606
preloader: false
@@ -619,12 +619,13 @@ aside:
619619
description:
620620
button:
621621
enable: true
622-
icon: fab fa-github
623-
text: Follow Me
624-
link: https://github.com/xxxxxx
622+
icon: fa-brands fa-qq
623+
text: 关注我们
624+
link: https://qm.qq.com/cgi-bin/qm/qr?k=mW2aAdiBaFHMoHIjCBYwMkKY5P8Oh1Ab&noverify=0
625+
625626
card_announcement:
626627
enable: true
627-
content: This is my Blog
628+
content: 欢迎光临A.P.C.科学联盟在线图书馆;)!<br>这里存放着<b>往期科普组的文章</b>以及<b>海量电子资源</b>(见顶部栏的资源入口),如果你愿意的话,可以在每篇文章底部的赞赏按钮里赞助我们做得更好!<br><hr>如果你愿意加入我们,欢迎添加群聊:60592305
628629
card_recent_post:
629630
enable: true
630631
limit: 5 # if set 0 will show all

0 commit comments

Comments
 (0)