1 | # Hexo Configuration
|
2 | ## Docs: https://hexo.io/docs/configuration.html
|
3 | ## Source: https://github.com/hexojs/hexo/
|
4 |
|
5 | # Site
|
6 | title: Hexo
|
7 | subtitle:
|
8 | description:
|
9 | author: John Doe
|
10 | language:
|
11 | timezone:
|
12 |
|
13 | # URL
|
14 | ## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
|
15 | url: http://yoursite.com
|
16 | root: /
|
17 | permalink: :year/:month/:day/:title/
|
18 | permalink_defaults:
|
19 |
|
20 | # Directory
|
21 | source_dir: source
|
22 | public_dir: public
|
23 | tag_dir: tags
|
24 | archive_dir: archives
|
25 | category_dir: categories
|
26 | code_dir: downloads/code
|
27 | i18n_dir: :lang
|
28 | skip_render:
|
29 |
|
30 | # Writing
|
31 | new_post_name: :title.md # File name of new posts
|
32 | default_layout: post
|
33 | titlecase: false # Transform title into titlecase
|
34 | external_link: true # Open external links in new tab
|
35 | filename_case: 0
|
36 | render_drafts: false
|
37 | post_asset_folder: false
|
38 | relative_link: false
|
39 | future: true
|
40 | highlight:
|
41 | enable: true
|
42 | line_number: true
|
43 | auto_detect: false
|
44 | tab_replace:
|
45 |
|
46 | # Category & Tag
|
47 | default_category: uncategorized
|
48 | category_map:
|
49 | tag_map:
|
50 |
|
51 | # Date / Time format
|
52 | ## Hexo uses Moment.js to parse and display date
|
53 | ## You can customize the date format as defined in
|
54 | ## http://momentjs.com/docs/#/displaying/format/
|
55 | date_format: YYYY-MM-DD
|
56 | time_format: HH:mm:ss
|
57 |
|
58 | # Pagination
|
59 | ## Set per_page to 0 to disable pagination
|
60 | per_page: 10
|
61 | pagination_dir: page
|
62 |
|
63 | # Extensions
|
64 | ## Plugins: https://hexo.io/plugins/
|
65 | ## Themes: https://hexo.io/themes/
|
66 | theme: landscape
|
67 |
|
68 | # Deployment
|
69 | ## Docs: https://hexo.io/docs/deployment.html
|
70 | deploy:
|
71 | type:
|