# Hexo Configuration
## Docs: http://hexo.io/docs/configuration.html
## Source: https://github.com/hexojs/hexo/
# Site
title: 不毛次元
subtitle:
description:
author: bumaociyuan
language: zh-Hans #设置语言
timezone: America/New_York #设置时区 坑0
since: 2013 #添加 Blog 开始时间
feed: #添加 rss 需要使用 hexo-generator-feed 插件
type: atom
path: resources/testRss.xml
limit: 0
getclicky_analytics: <clicky-id> #NexT 主题不支持,需要手动添加
avatar: <avatar-url>
disqus_shortname: <disqus-shortname> #添加 disqus
swiftype_key: <swiftype-key> #添加 swiftype
social: #添加 social infos
GitHub: https://github.com/bumaociyuan
Twitter: https://twitter.com/bumaociyuan
# URL
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
url: http://bumaociyuan.github.io
root: /
permalink: :category/:year/:month/:day/:title.html #从 jekyll 迁移,保持 url 不变
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: :year-:month-:day-:title.md #从 jekyll 迁移,不需要修改 md 文件名
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: true
tab_replace:
# Category & Tag
default_category: "" #设置默认 category 为空,不会显示在 url 上
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
index_generator:
per_page: 10
archive_generator: #区别 archive 的分页数量,需要安装 hexo-generator-archive
per_page: 500
yearly: true
monthly: true
tag_generator:
per_page: 500
# Extensions
## Plugins: http://hexo.io/plugins/
## Themes: http://hexo.io/themes/
theme: next
# Deployment
## Docs: http://hexo.io/docs/deployment.html
deploy:
type: git
repo: git@github.com:bumaociyuan/bumaociyuan.github.io.git
branch: master