# Hexo Configuration## Docs: https://hexo.io/docs/configuration.html## Source: https://github.com/hexojs/hexo/# Site
title: Hexo博客搭建 #主标题
subtitle: Hexo博客很酷很炫很有逼格 #副标题
description: 这是给搜索引擎看的,百度蜘蛛你喜欢我这句话吗?
author: 人民群众 #网站作者名称
language: zh-CN #语言
timezone: #不用填写# URL## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
url: http://yoursite.com 如果有域名的话,可以在这里填写你指向的域名
root: /
permalink: :year/:month/:day/:title/
permalink_defaults:
# 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 文章编写有关的设置,默认即可
new_post_name: :title.md # File name of new posts
default_layout: post
titlecase: false# Transform title into titlecase
external_link: true# Open external links in new tab
filename_case: 0
render_drafts: false
post_asset_folder: false
relative_link: false
future: true
highlight:
enable: true
line_number: true
auto_detect: false
tab_replace:
# Category & Tag 标签和分类,这里不用修改
default_category: uncategorized
category_map:
tag_map:
# 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
# Pagination## Set per_page to 0 to disable pagination
per_page: 10#表示每页显示多少条博客,可以修改
pagination_dir: page
# Extensions## Plugins: https://hexo.io/plugins/ ## Themes: https://hexo.io/themes/
theme: landscape #这里是主题名称,使用哪个主题,这里就填写相应的主题名# Deployment## Docs: https://hexo.io/docs/deployment.html
deploy:
type: git
repository: https://github.com/username/username.github.io.git
branch: master