-
Notifications
You must be signed in to change notification settings - Fork 0
记录一下配置
独步清风 edited this page Aug 12, 2016
·
1 revision
主题:https://github.com/yscoder/hexo-theme-indigo 博客_config.yml
# Hexo Configuration
## Docs: https://hexo.io/docs/configuration.html
## Source: https://github.com/hexojs/hexo/
# Site
title: Digdream
subtitle:
description:
author: Digdream
language:
timezone:
# URL
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
url: http://digdream.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
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: hexo-theme-indigo
# Deployment
## Docs: https://hexo.io/docs/deployment.html
deploy:
type:
主题_config.yml
# hexo-theme-indigo
# https://github.com/yscoder/hexo-theme-indigo
#添加新菜单项遵循以下规则
# menu:
# link: fontawesome图标,省略前缀,本主题前缀为 icon-,必须
# text: About 菜单显示的文字,如果省略即默认与图标一致,首字母会转大写
# url: /about 链接,绝对或相对路径,必须。
# target: _blank 是否跳出,省略则在当前页面打开
menu:
home:
text: 主页
url: /
archives:
url: /archives
tags:
url: /tags
github:
url: https://github.com/digdream
target: _blank
weibo:
url: http://www.weibo.com/digdream
target: _blank
link:
text: 测试
url: /404
rss: /atom.xml
#你的头像url
avatar: /img/logo.jpg
# email
email: [email protected]
# 设置 Android L Chrome 浏览器状态栏颜色
color: '#3F51B5'
# Content
tags:
title: 标签
# 文章截断
excerpt_length: 200
excerpt_link: 阅读全文...
mathjax: false
archive_yearly: true
#是否开启分享
share: true
#是否开启搜索
search: true
#是否大屏幕下文章页隐藏导航
hideMenu: true
#是否开启toc
#toc: false
toc:
list_number: false # 是否显示数字排序
#站长统计,如要开启,输入CNZZ站点id,如 cnzz: 1255152447
cnzz: false
# Miscellaneous
google_analytics: ''
favicon: /favicon.ico
# less
less:
paths:
- source/css/style.less
#是否开启多说评论,填写你在多说申请的项目名称 duoshuo: duoshuo-key
#若使用disqus,请在博客config文件中填写disqus_shortname,并关闭多说评论
duoshuo: Digdream