blob: 3eb3f7e2edc2222c2d18282646bdf9bdaa91bf6e [file] [log] [blame]
Tang Cheng60ba8032016-06-20 15:31:17 +08001# Hexo Configuration
2## Docs: https://hexo.io/docs/configuration.html
3## Source: https://github.com/hexojs/hexo/
4
5# Site
6title: 一卡通文档库
7subtitle:
8description:
9author: Supwisdom
10language: zh-cn
11timezone:
12
13# URL
14## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
15url: http://ykt.supwisdom.com
Tang Chengc9a9a1a2016-08-25 14:44:58 +080016root: /yktdocs
Tang Cheng60ba8032016-06-20 15:31:17 +080017permalink: :title/
18permalink_defaults:
19
20# Directory
21source_dir: source
22public_dir: public
23tag_dir: tags
24archive_dir: archives
25category_dir: categories
26code_dir: downloads/code
27i18n_dir: :lang
28skip_render:
29
30# Writing
31new_post_name: :title.md # File name of new posts
32default_layout: post
33titlecase: false # Transform title into titlecase
34external_link: true # Open external links in new tab
35filename_case: 0
36render_drafts: false
37post_asset_folder: false
38relative_link: false
39future: true
40highlight:
41 enable: true
Tang Chengc3bb6472016-06-24 17:30:49 +080042 line_number: false
Tang Cheng60ba8032016-06-20 15:31:17 +080043 auto_detect: false
44 tab_replace:
45
46# Category & Tag
47default_category: uncategorized
48category_map:
49tag_map:
50
51toc:
52 maxDepth: 3
53
54excerpt_link: Read More
55fancybox: true
56
57theme_config:
58 # Header
Tang Chengc9a9a1a2016-08-25 14:44:58 +080059 navbar_brand: <img src="imgs/logo.jpg" width="24" height="24">
Tang Cheng60ba8032016-06-20 15:31:17 +080060 menu:
61 Home: index.html
62 Archives: archives/
63
64 widgets:
65 - toc
66 - category
67 - archive
68 - recent_posts
69 - tag
Tang Cheng4d8d7ba2016-06-21 13:39:07 +080070
71 highlight:
72 enable: true
Tang Cheng60ba8032016-06-20 15:31:17 +080073
74marked:
75 gfm: true
76 pedantic: false
77 sanitize: false
78 tables: true
79 breaks: true
80 smartLists: true
81 smartypants: true
82
83# Date / Time format
84## Hexo uses Moment.js to parse and display date
85## You can customize the date format as defined in
86## http://momentjs.com/docs/#/displaying/format/
87date_format: YYYY-MM-DD
88time_format: HH:mm:ss
89
90# Pagination
91## Set per_page to 0 to disable pagination
92per_page: 10
93pagination_dir: page
94
95# Extensions
96## Plugins: https://hexo.io/plugins/
97## Themes: https://hexo.io/themes/
98theme: bootstrap-blog
99
100# Deployment
101## Docs: https://hexo.io/docs/deployment.html
102deploy:
103 type: