2021-02-19 23:33:19 +08:00
|
|
|
|
######## Stellar info ########
|
|
|
|
|
stellar:
|
2021-06-23 13:45:53 +08:00
|
|
|
|
version: '1.1.1'
|
2021-02-21 20:53:49 +08:00
|
|
|
|
homepage: 'https://xaoxuu.com/wiki/stellar/'
|
|
|
|
|
repo: 'https://github.com/xaoxuu/hexo-theme-stellar'
|
2021-02-21 21:31:43 +08:00
|
|
|
|
cdn_css: # Use cdn links instead of /css/main.css
|
|
|
|
|
cdn_js: # Use cdn links instead of /js/main.js
|
2021-02-19 23:33:19 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
######## head tags ########
|
2021-02-21 03:13:21 +08:00
|
|
|
|
open_graph:
|
|
|
|
|
enable: true
|
|
|
|
|
twitter_id: # for open_graph meta
|
2021-02-19 23:33:19 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
######## Sidebar ########
|
|
|
|
|
sidebar:
|
|
|
|
|
logo:
|
2021-02-24 21:27:31 +08:00
|
|
|
|
avatar: '[config.avatar](/about/)' # you can set avatar link in _config.yml or '[https://xxx.png](/about/)'
|
|
|
|
|
title: '[config.title](/)' # you can set html tag like: '[<img no-lazy height="32px" src="xxx"/>](/)'
|
2021-02-19 23:33:19 +08:00
|
|
|
|
menu:
|
2021-03-22 21:40:35 +08:00
|
|
|
|
post: # '[btn.blog](/)'
|
|
|
|
|
wiki: # '[btn.wiki](/wiki/)'
|
2021-02-24 21:27:31 +08:00
|
|
|
|
friends: # '[友链](/friends/)'
|
|
|
|
|
about: # '[关于](/about/)'
|
2021-02-19 23:33:19 +08:00
|
|
|
|
# Sidebar widgets
|
|
|
|
|
widgets:
|
2021-02-24 00:32:07 +08:00
|
|
|
|
# default layout in home/wiki/categories/tags/archives pages
|
2021-03-22 21:40:35 +08:00
|
|
|
|
default: # [welcome, recent]
|
2021-02-19 23:33:19 +08:00
|
|
|
|
# Recent update
|
|
|
|
|
recent:
|
|
|
|
|
layout: recent
|
2021-03-13 23:31:52 +08:00
|
|
|
|
rss: # /atom.xml # npm i hexo-generator-feed
|
2021-02-19 23:33:19 +08:00
|
|
|
|
limit: 5 # Count of posts
|
|
|
|
|
# TOC (valid only in layout:post/wiki)
|
|
|
|
|
toc:
|
|
|
|
|
layout: toc
|
|
|
|
|
list_number: false
|
|
|
|
|
min_depth: 2
|
|
|
|
|
max_depth: 5
|
2021-04-07 21:34:11 +08:00
|
|
|
|
fallback: recent # Use a backup widget when toc does not exist.
|
2021-02-19 23:33:19 +08:00
|
|
|
|
# welcome
|
|
|
|
|
welcome:
|
|
|
|
|
layout: markdown
|
|
|
|
|
title: 欢迎
|
|
|
|
|
content:
|
|
|
|
|
- '欢迎光临小站,[Stellar](https://github.com/xaoxuu/hexo-theme-stellar/) 是一个支持 wiki 的 hexo 主题,适合综合型站点使用。同时也拥有简约而精美的视觉设计和丰富的标签插件,帮助您简单从容地应对各种场合。'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
######## Article ########
|
|
|
|
|
article:
|
|
|
|
|
# 如果没有指定 excerpt 和 description,将自动取多长的内容作为文章摘要?
|
|
|
|
|
auto_excerpt: 200
|
2021-02-23 21:09:49 +08:00
|
|
|
|
# 分类颜色
|
|
|
|
|
category_color:
|
|
|
|
|
'新闻稿': '#DA0F47'
|
2021-02-25 00:05:23 +08:00
|
|
|
|
# 文章许可协议
|
2021-02-26 20:02:32 +08:00
|
|
|
|
license: '本文采用 [署名-非商业性使用-相同方式共享 4.0 国际](https://creativecommons.org/licenses/by-nc-sa/4.0/) 许可协议,转载请注明出处。'
|
2021-02-25 00:05:23 +08:00
|
|
|
|
# 分享
|
2021-03-01 23:24:57 +08:00
|
|
|
|
share: # [wechat, weibo, email, link]
|
2021-02-19 23:33:19 +08:00
|
|
|
|
# 相关文章,需要安装插件 (for layout: post)
|
|
|
|
|
# npm i hexo-related-popular-posts
|
|
|
|
|
related_posts:
|
|
|
|
|
enable: false
|
|
|
|
|
max_count: 5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
######## Comments ########
|
|
|
|
|
comments:
|
2021-03-13 22:30:07 +08:00
|
|
|
|
service: # utterances, valine
|
2021-02-19 23:33:19 +08:00
|
|
|
|
# utterances
|
|
|
|
|
# https://utteranc.es/
|
|
|
|
|
utterances:
|
|
|
|
|
repo: xxx/xxx
|
|
|
|
|
issue-term: pathname
|
|
|
|
|
issue-number:
|
|
|
|
|
theme:
|
|
|
|
|
light: github-light
|
|
|
|
|
dark: github-dark
|
2021-03-13 22:30:07 +08:00
|
|
|
|
valine:
|
2021-03-31 22:49:14 +08:00
|
|
|
|
js: https://cdn.jsdelivr.net/gh/XuxuGood/simple-blog-cdn@main/js/Valine.min.js
|
2021-03-13 22:30:07 +08:00
|
|
|
|
appId: # your appId
|
|
|
|
|
appKey: # your appKey
|
2021-04-01 23:34:25 +08:00
|
|
|
|
placeholder:
|
|
|
|
|
requiredFields: [nick, mail]
|
2021-03-13 22:30:07 +08:00
|
|
|
|
enableQQ: true # Unstable avatar link
|
|
|
|
|
recordIP: false # Record commenter IP
|
|
|
|
|
avatar: robohash # gravatar style https://valine.js.org/avatar
|
|
|
|
|
pageSize: 10 # comment list page size
|
|
|
|
|
lang: zh-cn
|
|
|
|
|
highlight: true
|
|
|
|
|
mathJax: false
|
2021-04-01 23:34:25 +08:00
|
|
|
|
tagMeta: [博主, 小伙伴, 访客] # 标签要显示的文字,默认'博主,小伙伴,访客'
|
|
|
|
|
metaPlaceholder:
|
|
|
|
|
nick: "昵称/QQ号(必填)"
|
|
|
|
|
mail: "邮箱(必填,完全保密)"
|
|
|
|
|
link: "网址(https://)"
|
2021-03-31 22:49:14 +08:00
|
|
|
|
master: #md5加密后的博主邮箱
|
2021-04-01 23:34:25 +08:00
|
|
|
|
- 6783037F2DF30EAB99F9FC256157D875
|
2021-03-31 22:49:14 +08:00
|
|
|
|
friends: #md5加密后的小伙伴邮箱
|
2021-04-01 23:34:25 +08:00
|
|
|
|
- 6783037F2DF30EAB99F9FC256157D875
|
2021-02-19 23:33:19 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
######## Footer ########
|
|
|
|
|
footer:
|
|
|
|
|
social:
|
2021-03-13 22:30:07 +08:00
|
|
|
|
# - icon: '<img src="https://cdn.jsdelivr.net/gh/cdn-x/placeholder@1.0.1/social/25678f144c438.svg"/>'
|
|
|
|
|
# url: /atom.xml
|
|
|
|
|
# - icon: '<img src="https://cdn.jsdelivr.net/gh/cdn-x/placeholder@1.0.1/social/08a41b181ce68.svg"/>'
|
|
|
|
|
# url: /
|
|
|
|
|
# - icon: '<img src="https://cdn.jsdelivr.net/gh/cdn-x/placeholder@1.0.1/social/cf1ae151f9e83.svg"/>'
|
|
|
|
|
# url: /
|
|
|
|
|
# - icon: '<img src="https://cdn.jsdelivr.net/gh/cdn-x/placeholder@1.0.1/social/942ebbf1a4b91.svg"/>'
|
|
|
|
|
# url: /
|
2021-02-21 03:13:21 +08:00
|
|
|
|
license: '[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/)'
|
|
|
|
|
source: #'[GitHub](https://github.com/xaoxuu/hexo-theme-stellar)'
|
2021-02-19 23:33:19 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
######## Tag Plugins ########
|
|
|
|
|
tag_plugins:
|
|
|
|
|
# {% note text %}
|
|
|
|
|
note:
|
2021-02-21 21:31:43 +08:00
|
|
|
|
default_color: '' # white, dark, red, orange, yellow, green, cyan, blue, purple
|
2021-02-19 23:33:19 +08:00
|
|
|
|
# {% checkbox %}
|
|
|
|
|
checkbox:
|
|
|
|
|
interactive: false # enable interactive for user
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
######## JS Plugins ########
|
|
|
|
|
plugins:
|
|
|
|
|
## required plugins ##
|
|
|
|
|
# jquery
|
|
|
|
|
jquery: https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js
|
|
|
|
|
|
|
|
|
|
## lazyload plugins ##
|
|
|
|
|
# fancybox
|
|
|
|
|
fancybox: https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.css
|
|
|
|
|
# swiper
|
|
|
|
|
swiper:
|
|
|
|
|
enable: true
|
|
|
|
|
css: https://unpkg.com/swiper/swiper-bundle.min.css
|
|
|
|
|
js: https://unpkg.com/swiper/swiper-bundle.min.js
|
2021-02-21 04:01:17 +08:00
|
|
|
|
# issues api
|
2021-03-03 22:05:29 +08:00
|
|
|
|
sitesjs: /js/plugins/sites.js
|
|
|
|
|
friendsjs: /js/plugins/friends.js
|
2021-02-21 03:13:21 +08:00
|
|
|
|
|
2021-02-19 23:33:19 +08:00
|
|
|
|
## optional plugins ##
|
|
|
|
|
# preload
|
|
|
|
|
preload:
|
2021-02-21 03:13:21 +08:00
|
|
|
|
enable: true
|
|
|
|
|
service: flying_pages # instant_page, flying_pages
|
2021-02-20 18:37:42 +08:00
|
|
|
|
instant_page: https://cdn.jsdelivr.net/gh/volantis-x/cdn-volantis@4.1.2/js/instant_page.js
|
2021-02-19 23:33:19 +08:00
|
|
|
|
flying_pages: https://cdn.jsdelivr.net/gh/gijo-varghese/flying-pages@2.1.2/flying-pages.min.js
|
|
|
|
|
|
|
|
|
|
# image lazyload
|
|
|
|
|
# https://www.npmjs.com/package/vanilla-lazyload
|
|
|
|
|
lazyload:
|
2021-02-21 17:27:48 +08:00
|
|
|
|
enable: true # [hexo clean && hexo s] is required after changing this value.
|
2021-02-19 23:33:19 +08:00
|
|
|
|
js: https://cdn.jsdelivr.net/npm/vanilla-lazyload@17.3.1/dist/lazyload.min.js
|
2021-03-04 22:30:56 +08:00
|
|
|
|
transition: blur # blur, fade
|
2021-02-19 23:33:19 +08:00
|
|
|
|
|
|
|
|
|
# https://scrollrevealjs.org/api/reveal.html
|
|
|
|
|
scrollreveal:
|
2021-03-13 13:32:45 +08:00
|
|
|
|
enable: #true
|
2021-03-08 00:20:51 +08:00
|
|
|
|
js: https://cdn.jsdelivr.net/npm/scrollreveal@4.0.9/dist/scrollreveal.min.js
|
2021-02-22 13:19:21 +08:00
|
|
|
|
distance: 8px
|
|
|
|
|
duration: 500 # ms
|
2021-03-04 23:38:41 +08:00
|
|
|
|
interval: 100 # ms
|
2021-02-19 23:33:19 +08:00
|
|
|
|
scale: 1 # 0.1~1
|
2021-03-04 23:38:41 +08:00
|
|
|
|
|
2021-04-02 20:24:16 +08:00
|
|
|
|
style:
|
|
|
|
|
darkmode: auto # set 'auto' to enable, set 'false' to disable
|
2021-06-23 13:41:05 +08:00
|
|
|
|
theme:
|
|
|
|
|
light: '#f8f8f8'
|
|
|
|
|
dark: '#20252B'
|
2021-04-07 22:38:13 +08:00
|
|
|
|
animated_avatar:
|
|
|
|
|
animate: auto # auto, always
|
2021-04-07 22:53:26 +08:00
|
|
|
|
background: https://cdn.jsdelivr.net/gh/cdn-x/placeholder@1.0.2/avatar/round/rainbow64@3x.webp
|
2021-04-01 22:36:26 +08:00
|
|
|
|
|
2021-03-04 23:38:41 +08:00
|
|
|
|
default:
|
2021-03-08 01:41:59 +08:00
|
|
|
|
avatar: https://cdn.jsdelivr.net/gh/cdn-x/placeholder@1.0.1/avatar/round/3442075.svg
|
|
|
|
|
link: https://cdn.jsdelivr.net/gh/cdn-x/placeholder@1.0.1/link/8f277b4ee0ecd.svg
|
|
|
|
|
cover: https://cdn.jsdelivr.net/gh/cdn-x/placeholder@1.0.1/cover/76b86c0226ffd.svg
|
|
|
|
|
image: https://cdn.jsdelivr.net/gh/cdn-x/placeholder@1.0.1/image/2659360.svg
|