-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_config.yml
142 lines (124 loc) · 3.47 KB
/
_config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
# Menus
menu:
首页: /
归档: /archives
分类: /categories
标签: /tags
关于: /about
# Customize
customize:
logo:
enabled: true
width: 40
height: 40
url: /logo.png
profile:
enabled: false # Whether to show profile bar
avatar: # css/images/avatar.png
gravatar: [email protected] # Gravatar email address, if you enable Gravatar, your avatar config will be overriden
author: wolf
author_title: Designer & Programmer
location: ShenYang, China
follow: https://github.com/dangerwolf/
highlight: monokai
sidebar: left # sidebar position, options: left, right
category_perExpand: false # enable article categories list per expanding
thumbnail: true # enable posts thumbnail, options: true, false
favicon: /favicon.ico # path to favicon
default_index_file: index.md # if this, it will display at site index instead of default index page
social_links:
github: https://github.com/dangerwolf/dangerwolf.github.io
stack-overflow:
codepen:
rss: /atom.xml
social_link_tooltip: true # enable the social link tooltip, options: true, false
# Widgets
widgets: # default use category only
- category
- recent_posts
- archive
- tag
- tagcloud
- links
# Excerpt
## Auto creat excerpt with not <!--more-->
## Enable will truncate auto_excerpt.lines rows in post head to replace excerpt.
auto_excerpt:
enable: true
lines: 5
# Search
search:
insight: true # you need to install `hexo-generator-json-content` before using Insight Search
swiftype: # enter swiftype install key here
baidu: false # you need to disable other search engines to use Baidu search, options: true, false
# History version
history_control: # make you wiki has history version control in page
enable: true
server_link: https://github.com # recommend use GitHub https://github.com
user: dangerwolf
repertory: WOLF-Wiki
branch: master
# Comment
comment:
disqus: # enter disqus shortname here
duoshuo: # enter duoshuo shortname here
youyan: # enter youyan uid here
# Share
share: default # options: jiathis, bdshare, addtoany, default
# Plugins
plugins:
lightgallery: true # options: true, false
justifiedgallery: true # options: true, false
google_analytics: # enter the tracking ID for your Google Analytics
google_site_verification: # enter Google site verification code
baidu_analytics: # enter Baidu Analytics hash key
# Miscellaneous
miscellaneous:
open_graph: # see http://ogp.me
fb_app_id:
fb_admins:
twitter_id:
google_plus:
links:
# Hexo Configuration
# URL
permalink: wiki/:title/
# Directory
skip_render:
- README.md
- '_posts/**/embed_page/**'
# Writing
new_post_name: :title.md # File name of new posts
## Markdown
## https://github.com/hexojs/hexo-renderer-marked
marked:
gfm: true
## Plugins: https://hexo.io/plugins/
### JsonContent
jsonContent:
meta: false
pages:
title: true
date: true
path: true
text: true
tags: true
categories: true
posts:
title: true
date: true
path: true
text: true
tags: true
categories: true
ignore:
- 404.html
### Creat sitemap
sitemap:
path: sitemap.xml
### Adds nofollow attribute to all external links in your hexo blog posts automatically.
nofollow:
enable: true
exclude:
- https://dangerwolf.github.io/ # eg: zthxxx.me
theme: jekyll-theme-cayman