Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
_config.yml of hexo and next theme
# Hexo Configuration
## Docs: http://hexo.io/docs/configuration.html
## Source: https://github.com/hexojs/hexo/
# Site
title: Jianghao Wang
subtitle: Writing 1000 Words a Day Changes My Life
description: Walk steps step by step
author: Jianghao
# language: zh-Hans
language: default
email: wangjh@lreis.ac.cn
timezone:
# URL
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
url: http://jianghao.wang
root: /
permalink: :year/:title/ # :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:
# 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: 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:jianghao/jianghao.github.io.git
branch: master
# =============================================================================
# NexT Theme configuration
# =============================================================================
# 多说帐号
# duoshuo_shortname: wangjh
## 多说热评文章
# duoshuo_hotartical: true
# DISQUS 帐号 (如果已经设置 多说 帐号,此选项将被跳过)
disqus_shortname: jianghaowang
# 社交链接,将在侧栏中显示
social:
Homepage: http://giser.me
Weibo: http://weibo.com/2283242060/
GitHub: https://github.com/Jianghao
Lab: http://www.lreis.ac.cn/sc/news/final.aspx?id=1241&v=1
Researchgate: https://www.researchgate.net/profile/Jianghao_Wang2
Lindedin: http://www.linkedin.com/profile/view?id=137337693
Twitter: https://twitter.com/JianghaoWang
DouBan: http://www.douban.com/people/hellowangjh/
ZhiHu: http://www.zhihu.com/people/wang-jiang-hao-51
# 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 站长工具验证,请选择 `HTML Meta` 验证方式
# See: https://www.google.com/webmasters/
# google_site_verification: 9YURi6R6MKXwplRX3iQ-0KYtfa7TKosTofEz2KIxowg
# Google 分析 ID
google_analytics: UA-62782471-1
# 百度统计 ID,此 ID 是百度统计提供脚本中 hm.js? 后面那串字符,非百度统计帐号
baidu_analytics: 50c15455e37f70aea674ff4a663eef27
# 站点起始时间
since: 2015
# =============================================================================
# End NexT Theme configuration
# =============================================================================
# =============================================================================
# NexT Theme configuration
# =============================================================================
menu:
home: /
studio: /studio
categories: /categories
archives: /archives
tags: /tags
about: /about
# commonweal: /404.html
language:
language: default
# Place your favicon.ico to /source directory.
favicon: /favicon.ico
# avatar
avatar: https://raw.githubusercontent.com/Jianghao/jianghao.github.io/master/images/avatar.png
# Set default keywords (Use a comma to separate)
keywords: "jianghao wang"
# Set rss to false to disable feed link.
# Leave rss as empty to use site's feed link.
# Set rss to specific value if you have burned your feed already.
rss:
# Icon fonts
# Place your font into next/source/fonts, specify directory-name and font-name here
# Avialable: default | linecons | fifty-shades | feather
icon_font: default
#icon_font: fifty-shades
#icon_font: feather
#icon_font: linecons
# Code Highlight theme
# Available value: normal | night | night eighties | night blue | night bright
# https://github.com/chriskempson/tomorrow-theme
highlight_theme: normal
# MathJax Support
mathjax: true
# Schemes
scheme: NexT
# Automatically scroll page to section which is under <!-- more --> mark.
scroll_to_more: true
# Automatically add list number to toc.
toc_list_number: true
# 百度分享左侧菜单栏,关闭则设置为 false
## 若想要自定义可以参考官网http://share.baidu.com/,修改theme/next/layout/_scripts/baidushare.swig
baidushare: true
## DO NOT EDIT THE FOLLOWING SETTINGS
## UNLESS YOU KNOW WHAT YOU ARE DOING
# Use velocity to animate everything.
use_motion: true
# Fancybox
fancybox: true
# Static files
vendors: vendors
css: css
images: images
# Theme version
version: 0.4.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment