Skip to content

Instantly share code, notes, and snippets.

@waynelkh
Created April 7, 2015 16:34
Show Gist options
  • Save waynelkh/d1116ccc673356f60b93 to your computer and use it in GitHub Desktop.
Save waynelkh/d1116ccc673356f60b93 to your computer and use it in GitHub Desktop.
Hexo_config.yml
# Hexo Configuration
## Docs: http://hexo.io/docs/configuration.html
## Source: https://github.com/hexojs/hexo/
# Site
title: Infinity Road
subtitle: Be a better Programmer
description: Note something I had done
author: Wayne Lee
language: zh-TW
timezone: Asia/Taipei
# URL
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
url: http://waynelkh.github.io
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
tab_replace: true
# 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: 30
pagination_dir: page
# Extensions
## Plugins: http://hexo.io/plugins/
## Themes: http://hexo.io/themes/
theme: next
# Deployment
## Docs: http://hexo.io/docs/deployment.html
deploy:
type: git
repository: git@github.com:waynelkh/waynelkh.github.io.git
branch: master
# Disqus
disqus_shortname: waynelkh
# =============================================================================
# NexT Theme configuration
# =============================================================================
social:
GitHub: https://github.com/waynelkh
# Creative Commons 4.0 International License.
# http://creativecommons.org/
# Available: by | by-nc | by-nc-nd | by-nc-sa | by-nd | by-sa | zero
creative_commons: by-nc-sa
# Google Analytics ID
google_analytics: UA-59476577-1
# site start date
since: 2014
# =============================================================================
# End NexT Theme configuration
# =============================================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment