-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_config.yml
More file actions
189 lines (167 loc) · 5.94 KB
/
_config.yml
File metadata and controls
189 lines (167 loc) · 5.94 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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
# Hexo Configuration
## Docs: https://hexo.io/docs/configuration.html
## Source: https://github.com/hexojs/hexo/
# Site
title: RU_Mesh - Meshtastic русскоязычное сообщество
subtitle: Meshtastic русскоязычное сообщество
description: Создание радиосети Meshtastic, которая позволит любому человеку, имеющему смартфон, отправлять текстовые сообщения без электричества и интернета
author: Timur Taipov
language: ru-RU
timezone: Europe/Moscow
# email: me@haysc.tech
# favicon: https://cdn.jsdelivr.net/gh/hayschan/oss@main/2022/01/06/logo_tuya.webp
# URL
## If your site is put in a subdirectory, set url as 'http://example.com/child' and root as '/child/'
url: https://meshru.timurey.ru
root: /
permalink: /:title/
permalink_defaults:
pretty_urls:
trailing_index: true # Set to false to remove trailing 'index.html' from permalinks
trailing_html: true # Set to false to remove trailing '.html' from permalinks
# Directory
source_dir: source
public_dir: public
tag_dir: tags
archive_dir: archives
category_dir: categories
code_dir: downloads/code
i18n_dir: :lang
skip_render: [custom/*]
# Writing
new_post_name: :title.md # File name of new posts
default_layout: draft
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
render_drafts: false
post_asset_folder: true
relative_link: false
future: true
highlight:
enable: true
line_number: false
auto_detect: false
tab_replace: ''
wrap: false
hljs: true
prismjs:
enable: false
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)
index_generator:
path: ''
per_page: 9
order_by: -date
# Category & Tag
default_category: uncategorized
category_map:
tag_map:
# 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
## 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'
# Pagination
## Set per_page to 0 to disable pagination
per_page: 10
pagination_dir: page
# Include / Exclude file(s)
## include:/exclude: options only apply to the 'source/' folder
include:
exclude:
ignore:
# Extensions
## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
theme: cards
# Deployment
## Docs: https://hexo.io/docs/one-command-deployment
# deploy:
# - type: git
# repo: git@github.com:hayschan/hexo-blog.git
# branch: run-page
# # - type: cjh_google_url_submitter
# # - type: cjh_bing_url_submitter
# - type: cjh_baidu_url_submitter
# Things I installed
## Sitemap
# baidusitemap:
# path: baidusitemap.xml
sitemap:
path: sitemap.xml
rel: true
tags: false
categories: false
# hexo_submit_urls_to_search_engine:
# submit_condition: count #链接被提交的条件,可选值:count | period 现仅支持count
# count: 10 # 提交最新的10个链接
# period: 900 # 提交修改时间在 900 秒内的链接
# google: 0 # 是否向Google提交,可选值:1 | 0(0:否;1:是)
# bing: 0 # 是否向bing提交,可选值:1 | 0(0:否;1:是)
# baidu: 1 # 是否向baidu提交,可选值:1 | 0(0:否;1:是)
# txt_path: submit_urls.txt ## 文本文档名, 需要推送的链接会保存在此文本文档里
# baidu_host: blog.haysc.tech ## 在百度站长平台中注册的域名
# baidu_token: 58Js6QqN2jIMve4w ## 请注意这是您的秘钥, 所以请不要把它直接发布在公众仓库里!
# bing_host: https://blog.haysc.tech ## 在bing站长平台中注册的域名
# bing_token: 4cfb2590f5e14389a14fe67ecbc8663e ## 请注意这是您的秘钥, 所以请不要把它直接发布在公众仓库里!
# google_host: https://blog.haysc.tech ## 在google站长平台中注册的域名
# google_key_file: Project.json #存放google key的json文件,放于网站根目录(与hexo _config.yml文件位置相同),请不要把json文件内容直接发布在公众仓库里!
# replace: 0 # 是否替换链接中的部分字符串,可选值:1 | 0(0:否;1:是)
# find_what:
# replace_with:
feed:
enable: true
type: atom
path: feed.xml
limit: 20
hub: https://pubsubhubbub.appspot.com
content: true
order_by: -date
# icon: https://cdn.jsdelivr.net/gh/hayschan/oss@main/2021/10/apple-touch-icon-swYdRb.png
autodiscovery: true
template: ./source/uploads/atom_template.xml
sequence:
# webfont: # optional, the source url of webfontloader.js
# snap: # optional, the source url of snap.svg.js
# underscore: # optional, the source url of underscore.js
sequence: https://cdn.jsdelivr.net/gh/hayschan/static@master/js/sequence-diagram-min.js # optional, the source url of sequence-diagram.js
# css: # optional, the url for css, such as hand drawn theme
options:
theme: simple
css_class:
nofollow:
enable: false
field: post
exclude:
- 'haysc.tech'
markdown:
preset: 'default'
render:
linkify: false ##渲染 链接
plugins:
- name: 'markdown-it-footnote'
# mermaid chart
mermaid: ## mermaid url https://github.com/knsv/mermaid
enable: true # default true
version: "7.1.2" # default v7.1.2
options: # find more api options from https://github.com/knsv/mermaid/blob/master/src/mermaidAPI.js
#startOnload: true // default true
# add caption for iamges
image_caption:
enable: false #false to disable
class_name: #if you wanna customize the style for the caption,you can assign a class name, default is 'image-caption'