-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_config.yml
More file actions
197 lines (178 loc) · 5.57 KB
/
Copy path_config.yml
File metadata and controls
197 lines (178 loc) · 5.57 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
190
191
192
193
194
195
196
197
# Hexo Configuration
## Docs: https://hexo.io/docs/configuration.html
## Source: https://github.com/hexojs/hexo/
# Site
title: 'Elijah’s Quality Lab'
subtitle: '早上好'
description: '我會在這裡分享有關軟體測試的知識與經驗,通常是踩過的坑,畢竟AI能幫我們解決很多問題,但還是需要人們紀錄坑坑洞洞。'
keywords: testing, software testing, test automation, qa, quality assurance
author: 'Elijah Ho'
language: zh-TW
timezone: 'Asia/Taipei'
# URL
## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project'
url: https://jiamingla.github.io
permalink: post/:urlname/
permalink_defaults:
title: index
pretty_urls:
trailing_index: false # /about/index.html → /about/(乾淨 URL、避免 canonical 混淆);文章走自訂 permalink 不受影響
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:
- googlebf59fe9929fd5d2f.html
# 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
render_drafts: false
post_asset_folder: true
relative_link: false
future: false
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)
index_generator:
path: ''
per_page: 10
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: 'date'
# Pagination
## Set per_page to 0 to disable pagination
per_page: 10
pagination_dir: page
# Archive page setting
archive_generator:
per_page: 15 # 歸檔頁每頁顯示的數量(設為 0 則代表不分頁,全部文章列在同一頁)
yearly: true # 是否產生年度歸檔
monthly: true # 是否產生月份歸檔
# 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: keep
search:
path: search.json
field: post
content: true
format: striptags
comment:
enable: true
use: giscus # 這裡指定使用 giscus
giscus:
# 是否启用 Giscus 评论系统
enable: true
# 是否显示加载动画
loading: true
# GitHub 仓库,格式为 username/repo-name
repo: "jiamingla/jiamingla.github.io"
# GitHub 仓库的唯一ID
repo_id: R_kgDOQ9s4Ng
# GitHub Discussions 分类名称
category: "Blog Comments"
# Discussions 分类的唯一 ID
category_id: DIC_kwDOQ9s4Ns4C1NAE
# 指定 GitHub discussion 的匹配规则
mapping: pathname
# 是否启用严格的标题匹配
strict: 0
# 是否启用主帖子上的反应
reactions_enabled: 1
# 是否输出 discussion 的元数据
emit_metadata: 0
# 亮色主题
theme: light
# 暗色主题
dark: dark
# 评论区的语言
lang: zh-TW
# 评论输入框的位置
input_position: bottom
# 懒加载评论
data_loading: lazy
# Sitemap (hexo-generator-sitemap)
# ------------------------------------------------------------
# 功能:自動產生 sitemap.xml,提交給 Google / Bing 等搜尋引擎
# 讓爬蟲知道網站有哪些頁面、何時更新,加速 SEO 收錄。
#
# 產出位置:public/sitemap.xml(執行 `hexo generate` 後)
# 線上網址:https://jiamingla.github.io/sitemap.xml
#
# 提交方式:
# 1. Google Search Console → Sitemaps → 提交 sitemap.xml
# 2. 或在 source/robots.txt 加入:Sitemap: https://jiamingla.github.io/sitemap.xml
#
# 可用選項:
# path sitemap 檔名/路徑(可為陣列產生多份)
# template 自訂 XML 樣板路徑(不設則用內建)
# rel 是否在 <head> 加入 rel="sitemap" 連結(預設 false)
# tags 是否收錄各個 tag 頁(true 會列入每個標籤的列表頁)
# categories 是否收錄各個 category 頁
#
# 目前設定意圖:
# - 只收錄文章與主要頁面,不把 tag/category 列表頁塞進 sitemap,
# 避免內容稀薄(thin content)的列表頁稀釋 SEO 權重。
# - 若想排除某篇文章,可在該文 front-matter 加 `sitemap: false`。
sitemap:
path: sitemap.xml
template: ./sitemap_template.xml
tags: false
categories: false
# Deployment
## Docs: https://hexo.io/docs/one-command-deployment
deploy:
type: git
repo: https://github.com/jiamingla/jiamingla.github.io.git
branch: gh-pages
symbols_count_time:
symbols: true
time: true
total_symbols: false
total_time: false
exclude_codeblock: true
awl: 2 # 中文处理速度(每分钟字数)
wpm: 275 # 英文处理速度(每分钟字数)
# 你的網站網址
urlforgoogle: https://jiamingla.github.io