Skip to content

Commit 2b82443

Browse files
committed
build: 同步配置
1 parent 700d4e9 commit 2b82443

File tree

2 files changed

+77
-260
lines changed

2 files changed

+77
-260
lines changed

source/CNAME

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +0,0 @@
1-
www.91h5.cc
2-
snippet.shenliyang.com
Lines changed: 77 additions & 258 deletions
Original file line numberDiff line numberDiff line change
@@ -1,259 +1,78 @@
1-
# ---------------------------------------------------------------
2-
# Site Information And Theme Configuration Settings
3-
# language: zh-CN
4-
# ---------------------------------------------------------------
5-
6-
## menu
7-
menu:
8-
- page: home
9-
url: /
10-
icon:
11-
- page: 前端
12-
url: /categories/前端/
13-
icon:
14-
- page: 后端
15-
url: /categories/后端/
16-
icon:
17-
- page: 工具
18-
url: /categories/工具/
19-
icon:
20-
- page: 时间轴
21-
url: /archives/
22-
icon:
23-
24-
## favicon
25-
favicon: /favicon.ico
26-
27-
## Feed
28-
rss: /atom.xml
29-
30-
## Carousel
31-
carousel:
32-
img: "./img/head-img.jpg"
33-
url: "https://promotion.aliyun.com/ntms/act/qwbk.html?userCode=xs0pypd2"
34-
35-
# 各个小工具的设置
36-
37-
## widgets
38-
widgets:
39-
- search
40-
- notification
41-
- social
42-
- category
43-
- archive
44-
- tagcloud
45-
- friends
46-
47-
## 搜索
48-
jsonContent:
49-
searchLocal: true
50-
searchGoogle: false
51-
posts:
52-
title: true
53-
text: true
54-
content: true
55-
categories: false
56-
tags: false
57-
58-
## 网站公告设置
59-
notification: |-
60-
<p>
61-
主题下载:<a href="https://github.com/shenliyang/hexo-theme-snippet" title="fork me" target="_blank">Snippet主题</a> <br/>
62-
主题使用:<a href="https://github.com/shenliyang/hexo-theme-snippet/blob/master/README.md#常见问题" title="" target="_blank">常见使用问题</a> <br/>
63-
支持主题:<a href="https://github.com/shenliyang/hexo-theme-snippet/stargazers">Star一下</a>
64-
</p>
65-
66-
## 社交设置
67-
social:
68-
- name: Github
69-
icon: git
70-
href: //github.com/shenliyang
71-
- name: 邮箱
72-
icon: envelope-o
73-
href: mailto:snippet@aliyun.com
74-
- name: 联系QQ
75-
icon: qq
76-
href: /
77-
- name: 微信
78-
icon: weixin
79-
href: /
80-
- name: QQ群
81-
icon: users
82-
href: /
83-
- name: RSS
84-
icon: feed
85-
href: /atom.xml
86-
87-
## 文章分类设置
88-
cate_config:
89-
show_count: true
90-
show_current: true
91-
92-
## 文章归档设置
93-
arch_config:
94-
type: "monthly"
95-
format: "YYYY年MM月"
96-
show_count: true
97-
order: -1
98-
99-
## 标签云设置
100-
tagcloud:
101-
tag3d: false
102-
textColour: "#444"
103-
outlineMethod: "block"
104-
outlineColour: "#FFDAB9"
105-
interval: 30
106-
freezeActive: true
107-
frontSelect: true
108-
reverse: true
109-
wheelZoom: false
110-
111-
## 友链设置
112-
links:
113-
- Hexo官网: https://hexo.io/zh-cn/
114-
115-
# 主题自定义个性化配置
116-
117-
## 网站宣传语
118-
branding:
119-
120-
## 设置banner背景图片
121-
banner:
122-
img: https://hexo-theme-snippet-1251680922.cos.ap-beijing.myqcloud.com/img/banner.jpg
123-
124-
## 首页列表底部面板
125-
homePanel: true
126-
127-
## 缩略图自定义随机图片
128-
defaultImgs:
129-
-
130-
131-
## 截取文章首页描述字数
132-
excerptLength: 120
133-
134-
## 是否开启文章目录
135-
toc: true
136-
137-
## 代码高亮配置
138-
highlightTheme:
139-
140-
## bootstrap配置
141-
bootstrap:
142-
143-
## ICON配置
144-
fontAwesome:
145-
146-
## 文章过期提醒功能
147-
warning:
148-
days: 300
149-
text: "本文于%d天之前发表,文中内容可能已经过时。"
150-
151-
## 文章内声明
152-
declaration:
153-
enable: true
154-
title: "转载声明"
155-
tip: |-
156-
商业转载请联系作者获得授权,非商业转载请注明出处 © <a href="" target="_blank">Snippet</a>
157-
158-
## 文章打赏
159-
reward:
160-
alipay: ""
161-
wepay: ""
162-
tip: 赞赏是不耍流氓的鼓励
163-
164-
## 主题评论
165-
166-
## utterances评论
167-
utterances:
1+
# Hexo Configuration
2+
## Docs: https://hexo.io/docs/configuration.html
3+
## Source: https://github.com/hexojs/hexo/
4+
5+
# Site
6+
title: "大白话说前端 - 多看源码多读书,勤于思考善领悟"
7+
subtitle: 从未如此简单有趣
8+
description: Snippet主题,也许是一款你寻找已久的Hexo主题。
9+
keywords: hexo主题,snippet
10+
author: shenliyang
11+
language: zh-CN
12+
13+
# URL
14+
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
15+
url: https://snippet.shenliyang.com
16+
root: /
17+
permalink: archives/:abbrlink.html
18+
permalink_defaults:
19+
20+
# Directory
21+
source_dir: source
22+
public_dir: public
23+
tag_dir: tags
24+
archive_dir: archives
25+
category_dir: categories
26+
code_dir: downloads/code
27+
i18n_dir: :lang
28+
skip_render:
29+
- README.md
30+
- 404.html
31+
32+
# Writing
33+
new_post_name: :title.md # File name of new posts
34+
default_layout: post
35+
titlecase: false # Transform title into titlecase
36+
external_link: true # Open external links in new tab
37+
filename_case: 0
38+
render_drafts: false
39+
post_asset_folder: false
40+
relative_link: false
41+
future: true
42+
highlight:
16843
enable: true
169-
repo: shenliyang/snippet-comment
170-
issueTerm: pathname
171-
issueNumber:
172-
theme: github-light
173-
label:
174-
cdn:
175-
176-
## Valine评论
177-
valine:
178-
enable: false
179-
appId: xOKV9J4UeQAtVkvnJC7Kq2Jn-gzGzoHsz
180-
appKey: erIpQac4azoCmgfBB7Dl9maa
181-
placeholder: 说点什么吧
182-
notify: false
183-
verify: true
184-
avatar: mm
185-
meta: nick,mail
186-
pageSize: 10
187-
188-
### 畅言评论(需要ICP备案)
189-
changyan:
190-
enable: false
191-
appid:
192-
conf:
193-
194-
### 来必力
195-
livere:
196-
enable: false
197-
livere_uid: MTAyMC8zMzA1MS85NjEz
198-
199-
## Gitalk评论
200-
gitalk:
201-
enable: false
202-
clientID:
203-
clientSecret:
204-
repo:
205-
owner:
206-
admin:
207-
perPage:
208-
distractionFreeMode: true
209-
210-
### Disqus评论
211-
disqus:
212-
enable: false
213-
shortname: snippet
214-
count: false
215-
216-
### gitment评论(长期不更新,不建议使用)
217-
gitment:
218-
enable: false
219-
owner:
220-
repo:
221-
client_id:
222-
client_secret:
223-
perPage: 10
224-
225-
### 友言评论(服务不稳定)
226-
uyan:
227-
enable: false
228-
uyan_id: 1966422
229-
230-
## 网站访客统计
231-
visit_counter:
232-
site: false
233-
page: false
234-
235-
## 网站访问统计分析
236-
237-
### 网盟CNZZ统计
238-
cnzz_analytics: 1263868967
239-
240-
### 百度统计
241-
baidu_analytics:
242-
243-
### 谷歌统计
244-
google_analytics:
245-
246-
### 腾讯分析
247-
tencent_analytics:
248-
249-
### 百度站点认证
250-
baidu_site_verification:
251-
252-
### 百度自动推送
253-
baidu_push: false
254-
255-
#网站主题配置
256-
since: 2017
257-
beian:
258-
robot: "all" ### 控制搜索引擎的抓取和索引编制行为,默认为all
259-
version: 1.3.0
44+
line_number: true
45+
auto_detect: true
46+
tab_replace:
47+
48+
# Category & Tag
49+
default_category: uncategorized
50+
category_map:
51+
tag_map:
52+
53+
# Date / Time format
54+
## Hexo uses Moment.js to parse and display date
55+
## You can customize the date format as defined in
56+
## http://momentjs.com/docs/#/displaying/format/
57+
date_format: YYYY-MM-DD
58+
time_format: HH:mm:ss
59+
60+
# Pagination
61+
## Set per_page to 0 to disable pagination
62+
per_page: 10
63+
pagination_dir: page
64+
65+
# Extensions
66+
## Plugins: https://hexo.io/plugins/
67+
## Themes: https://hexo.io/themes/
68+
theme: hexo-theme-snippet
69+
70+
#启动插件
71+
plugins:
72+
73+
# Deployment
74+
## Docs: https://hexo.io/docs/deployment.html
75+
deploy:
76+
type: git
77+
repo: https://github.com/shenliyang/shenliyang.github.io.git
78+
branch: gh-pages

0 commit comments

Comments
 (0)