sitemap:加入Sitemap生成的设置。
This commit is contained in:
parent
4f818bbf53
commit
d7c9eea97f
26
_config.yml
26
_config.yml
|
@ -5,11 +5,11 @@
|
||||||
# Site
|
# Site
|
||||||
title: ArchGrid
|
title: ArchGrid
|
||||||
subtitle: 架构知识网格
|
subtitle: 架构知识网格
|
||||||
description: '这里有作为一个架构师所需要知道的任何事情,这是一个解决方案的集散地。'
|
description: "这里有作为一个架构师所需要知道的任何事情,这是一个解决方案的集散地。"
|
||||||
keywords: 架构设计, Java, Kotlin, Golang, Rust, Javascript, 前端, 后端, Spring, 修身, 养性
|
keywords: 架构设计, Java, Kotlin, Golang, Rust, Javascript, 前端, 后端, Spring, 修身, 养性
|
||||||
author: ArchKnight
|
author: ArchKnight
|
||||||
language: zh-Hans-CN
|
language: zh-Hans-CN
|
||||||
timezone: 'Asia/Shanghai'
|
timezone: "Asia/Shanghai"
|
||||||
|
|
||||||
# URL
|
# URL
|
||||||
## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project'
|
## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project'
|
||||||
|
@ -37,7 +37,7 @@ titlecase: false # Transform title into titlecase
|
||||||
external_link:
|
external_link:
|
||||||
enable: true # Open external links in new tab
|
enable: true # Open external links in new tab
|
||||||
field: site # Apply to the whole site
|
field: site # Apply to the whole site
|
||||||
exclude: ''
|
exclude: ""
|
||||||
filename_case: 0
|
filename_case: 0
|
||||||
render_drafts: false
|
render_drafts: false
|
||||||
post_asset_folder: true
|
post_asset_folder: true
|
||||||
|
@ -47,21 +47,21 @@ highlight:
|
||||||
enable: false
|
enable: false
|
||||||
line_number: true
|
line_number: true
|
||||||
auto_detect: false
|
auto_detect: false
|
||||||
tab_replace: ''
|
tab_replace: ""
|
||||||
wrap: true
|
wrap: true
|
||||||
hljs: false
|
hljs: false
|
||||||
prismjs:
|
prismjs:
|
||||||
enable: true
|
enable: true
|
||||||
preprocess: true
|
preprocess: true
|
||||||
line_number: true
|
line_number: true
|
||||||
tab_replace: ''
|
tab_replace: ""
|
||||||
|
|
||||||
# Home page setting
|
# Home page setting
|
||||||
# path: Root path for your blogs index page. (default = '')
|
# path: Root path for your blogs index page. (default = '')
|
||||||
# per_page: Posts displayed per page. (0 = disable pagination)
|
# per_page: Posts displayed per page. (0 = disable pagination)
|
||||||
# order_by: Posts order. (Order by date descending by default)
|
# order_by: Posts order. (Order by date descending by default)
|
||||||
index_generator:
|
index_generator:
|
||||||
path: ''
|
path: ""
|
||||||
per_page: 10
|
per_page: 10
|
||||||
order_by: -date
|
order_by: -date
|
||||||
|
|
||||||
|
@ -81,7 +81,7 @@ meta_generator: true
|
||||||
date_format: YYYY-MM-DD
|
date_format: YYYY-MM-DD
|
||||||
time_format: HH:mm:ss
|
time_format: HH:mm:ss
|
||||||
## updated_option supports 'mtime', 'date', 'empty'
|
## updated_option supports 'mtime', 'date', 'empty'
|
||||||
updated_option: 'mtime'
|
updated_option: "mtime"
|
||||||
|
|
||||||
# Pagination
|
# Pagination
|
||||||
## Set per_page to 0 to disable pagination
|
## Set per_page to 0 to disable pagination
|
||||||
|
@ -102,7 +102,7 @@ theme: grid
|
||||||
# Deployment
|
# Deployment
|
||||||
## Docs: https://hexo.io/docs/one-command-deployment
|
## Docs: https://hexo.io/docs/one-command-deployment
|
||||||
deploy:
|
deploy:
|
||||||
type: ''
|
type: ""
|
||||||
|
|
||||||
# Plugins Configurations
|
# Plugins Configurations
|
||||||
marked:
|
marked:
|
||||||
|
@ -111,7 +111,7 @@ marked:
|
||||||
breaks: true
|
breaks: true
|
||||||
smartLists: true
|
smartLists: true
|
||||||
smartypants: true
|
smartypants: true
|
||||||
quotes: '“”‘’'
|
quotes: "“”‘’"
|
||||||
modifyAnchors: 0
|
modifyAnchors: 0
|
||||||
anchorAlias: false
|
anchorAlias: false
|
||||||
autolink: true
|
autolink: true
|
||||||
|
@ -134,12 +134,12 @@ toc:
|
||||||
decodeEntities: false
|
decodeEntities: false
|
||||||
anchor:
|
anchor:
|
||||||
position: after
|
position: after
|
||||||
symbol: '#'
|
symbol: "#"
|
||||||
style: header-anchor
|
style: header-anchor
|
||||||
sub:
|
sub:
|
||||||
markup: '&'
|
markup: "&"
|
||||||
sup:
|
sup:
|
||||||
markup: '&'
|
markup: "&"
|
||||||
mathjax:
|
mathjax:
|
||||||
tags: none
|
tags: none
|
||||||
single_dollars: true
|
single_dollars: true
|
||||||
|
@ -165,3 +165,5 @@ plantuml:
|
||||||
|
|
||||||
# common options: svg/png
|
# common options: svg/png
|
||||||
outputFormat: "svg"
|
outputFormat: "svg"
|
||||||
|
sitemap:
|
||||||
|
path: sitemap.xml
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
"hexo-generator-archive": "^1.0.0",
|
"hexo-generator-archive": "^1.0.0",
|
||||||
"hexo-generator-category": "^1.0.0",
|
"hexo-generator-category": "^1.0.0",
|
||||||
"hexo-generator-index": "^2.0.0",
|
"hexo-generator-index": "^2.0.0",
|
||||||
|
"hexo-generator-seo-friendly-sitemap": "^0.2.1",
|
||||||
"hexo-generator-tag": "^1.0.0",
|
"hexo-generator-tag": "^1.0.0",
|
||||||
"hexo-renderer-ejs": "^1.0.0",
|
"hexo-renderer-ejs": "^1.0.0",
|
||||||
"hexo-renderer-less": "^2.0.2",
|
"hexo-renderer-less": "^2.0.2",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user