Skip to content

Instantly share code, notes, and snippets.

@inkydragon
Created February 7, 2017 07:21
Show Gist options
  • Save inkydragon/1b1015ab4c642ca1d225a6e3d7703de8 to your computer and use it in GitHub Desktop.
Save inkydragon/1b1015ab4c642ca1d225a6e3d7703de8 to your computer and use it in GitHub Desktop.
My config.yml
# Hexo Configuration
## Docs: https://hexo.io/docs/configuration.html
## Source: https://github.com/hexojs/hexo/
# Site
title: wo's lab | Hexo
subtitle:
description:
author: woclass
language:
- zh-CN
- en
timezone: Asia/Shanghai
# URL
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
url: https://inkydragon.github.io/
root: /
permalink: :lang/:title/
permalink_defaults:
lang: zh-CN
# 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: true # Transform title into titlecase
external_link: true # Open external links in new tab
filename_case: 0
render_drafts: false
post_asset_folder: true
relative_link: false
future: true
highlight:
enable: true
line_number: true
auto_detect: false
tab_replace:
# Category & Tag
default_category: wo~
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: 5
pagination_dir: page
# Extensions
## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
theme: landscape-plus
# Themes setting
mathjax: true
baidushare: false
feed:
type: atom
path: atom.xml
limit: 20
hub:
# Deployment
## Docs: https://hexo.io/docs/deployment.html
deploy:
type: git
repo: https://github.com/inkydragon/inkydragon.github.io
branch: master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment