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