config文件介绍
此文件是对于Hexo最基本的修改,在使用主题后,由于主题作者设计的不同,某些设置将不会生效,你只需要填写必要设置,并且按照主题作者的文档进行修改即可。
Site
Site部分
title: 九月的生活
subtitle: New Dream New Start
description: 希望在这里分享我的经验与生活!
keywords:
author: 上杉九月
language: - zh-CN - en - zh-TW
timezone: ''
|
Url
Url部分
url: https://sakurasep.gitee.io
permalink: :year/:title/
permalink_defaults: pretty_urls: trailing_index: true trailing_html: true
|
Directory
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:
|
Writing
Writing部分
new_post_name: :title.md
default_layout: post
titlecase: false
external_link: enable: true field: site exclude: ''
filename_case: 0
render_drafts: false
post_asset_folder: false
relative_link: false
future: false
highlight: enable: true line_number: true auto_detect: false tab_replace: '' wrap: true hljs: false prismjs: enable: false preprocess: true line_number: true tab_replace: ''
|
Home page setting
Home page setting部分
index_generator: path: '' per_page: 7 order_by: -date
|
Category & Tag
Category & Tag部分
default_category: uncategorized
category_map:
tag_map:
|
Metadata elements部分
Date / Time format部分
date_format: YYYY-MM-DD time_format: HH:mm:ss
updated_option: 'mtime'
|
Pagination部分
per_page: 7 pagination_dir: page
|
Include / Exclude file(s)
Include / Exclude file(s)部分
Extensions
Extensions部分
Deployment
Deployment部分
deploy: type: git repo: https://gitee.com/sakurasep/sakurasep.git branch: master
|
关于我