-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_configdev.yml
More file actions
153 lines (135 loc) · 5.58 KB
/
_configdev.yml
File metadata and controls
153 lines (135 loc) · 5.58 KB
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
143
144
145
146
147
148
149
150
151
152
153
# Hexo Configuration
## Docs: https://hexo.io/docs/configuration.html
## Source: https://github.com/hexojs/hexo/
# Hexo配置
##文档:https://hexo.io/docs/configuration.html
##来源:https://github.com/hexojs/hexo/
# Site
#站点
title: POSEC # 标题
subtitle: '海内存知己,天涯若比邻' #副标题
description: '' #描述
keywords: #关键词
author: POSCDevelopmentTeam #作者
language: zh-CN #语言
timezone: '' #时区,不需要加,加上不仅没用还会引起一堆问题
# URL
## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project'
#网址
##在此设置您的网站url。例如,如果您使用GitHub页面,请将url设置为“https://username.gitHub.io/project”
url: https://penosext.github.io/ #网址
permalink: :year/:month/:day/:title/ #永久链接
permalink_defaults: #永久链接_默认值
pretty_urls: #美化链接
trailing_index: true
# Set to false to remove trailing 'index.html' from permalinks
#设置为false以从永久链接中删除尾随的“index.html”
trailing_html: true
# Set to false to remove trailing '.html' from permalinks
#设置为false以删除结尾'。来自永久链接的“html”
# Directory
#目录
###这里不会就绝对不要改!!!会报错!!!特别是public_dir!!!改了一定报错!!!
source_dir: source #源目录
public_dir: public #公共目录
tag_dir: tags #标签目录
archive_dir: archives #存档目录
category_dir: categories #类别目录
code_dir: downloads/code #源码目录,包含代码目录(source_dir)
i18n_dir: :lang #i18n目录
skip_render: #将被复制到 raw 但不被渲染的路径。您可以使用 glob 表达式进行路径匹配。public
# Writing
# 写作
new_post_name: :title.md # File name of new posts
#新帖子的文件名格式
default_layout: post #默认布局
titlecase: false # Transform title into titlecase
#将标题转换为标题大小写?
external_link:
enable: true # Open external links in new tab
#在新标签页中打开外部链接?
field: site # Apply to the whole site
#适用于整个网站
exclude: '' #排除,即在某个页面不从新标签页中打开外部链接
filename_case: 0 #将文件名转换为小写; 大写1 2
render_drafts: false #显示草稿?
post_asset_folder: false #启用 Asset 文件夹?
relative_link: false #相对于根文件夹创建链接?
future: true #显示未来的帖子?
syntax_highlighter: highlight.js #代码块语法高亮设置
highlight: #代码块语法高亮设置
line_number: true #行号
auto_detect: false #自动检测
tab_replace: '' #制表符替换
wrap: true #包
hljs: false
prismjs: #代码块语法高亮设置
preprocess: true #预处理
line_number: true #行号
tab_replace: '' #制表符替换
# Home page setting
# path: Root path for your blogs index page. (default = '')
# per_page: Posts displayed per page. (0 = disable pagination)
# order_by: Posts order. (Order by date descending by default)
# 首页设置
# path:博客索引页面的根路径。(默认值=“”)
# per_page:每页显示的帖子。(0 =禁用分页)
# order_by:发布订单。(默认情况下按日期降序排序)
index_generator: #生成一个帖子存档,由 hexo-generator-index 提供支持
path: '' #博客索引页的根路径
per_page: 10 #每页显示的帖子。
order_by: -date #帖子顺序。默认情况下,按降序日期 (从新到旧) 排序。
# Category & Tag
# 类别 & 标签
default_category: uncategorized #默认类别
category_map: #覆盖类别 slug
tag_map: #覆盖标签 slug
# Metadata elements
# 元数据元素
## https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
meta_generator: true #元生成器
# Date / Time format
## Hexo uses Moment.js to parse and display date
## You can customize the date format as defined in
# 日期/时间格式
## Hexo使用Moment.js解析和显示日期
##您可以按照中的定义自定义日期格式
## http://momentjs.com/docs/#/displaying/format/
date_format: YYYY-MM-DD #日期格式
time_format: HH:mm:ss #时间格式
## updated_option supports 'mtime', 'date', 'empty'
## 更新选项支持“时间”、“日期”、“空”
updated_option: 'mtime' #更新选项,在 front-matter 中未提供时要使用的更新值。
# updated_option控制 front-matter 中未提供的值:updated
# mtime:使用文件修改日期作为 。这是 Hexo 从 3.0.0 开始的默认行为updated
# date:用作 .通常在文件修改日期可能不同时与 Git 工作流程一起使用。dateupdated
# empty:未提供时只需丢弃。可能与大多数主题和插件不兼容。updated
#empty:未提供时只需丢弃。可能与大多数主题和插件不兼容。updated
# Pagination
## Set per_page to 0 to disable pagination
#分页
##将per_page设置为0以禁用分页
per_page: 10 #每页上显示的帖子数。 禁用分页就输入0
pagination_dir: page #URL格式
# Include / Exclude file(s)
## include:/exclude: options only apply to the 'source/' folder
#包括/排除文件
## include:/exclude:选项仅适用于“source/”文件夹
include: #包括
exclude: #排除
ignore: #忽略
# Extensions
## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
#扩展
##插件:https://hexo.io/plugins/
##主题:https://hexo.io/themes/
theme: anzhiyu #填写你要用并且下好的主题名称,如果禁用主题就写false
# Deployment
## Docs: https://hexo.io/docs/one-command-deployment
# 部署
## 文件:https://hexo.io/docs/one-command-deployment
deploy:
type: git
repository: https://github.com/PenosExt/penosext.github.io.git
branch: gh-pages