|
| 1 | +# Hexo Configuration |
| 2 | +## Docs: https://hexo.io/docs/configuration.html |
| 3 | +## Source: https://github.com/hexojs/hexo/ |
| 4 | + |
| 5 | +# Site |
| 6 | +title: iseki 的笔记本 |
| 7 | +subtitle: '没什么,只是个备忘录' |
| 8 | +#description: '' |
| 9 | +#keywords: |
| 10 | +author: iseki zero |
| 11 | +language: zh-CN |
| 12 | +timezone: 'Asia/Shanghai' |
| 13 | + |
| 14 | +# URL |
| 15 | +## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project' |
| 16 | +url: http://example.com |
| 17 | +permalink: ':year/:title/' |
| 18 | +permalink_defaults: |
| 19 | +pretty_urls: |
| 20 | + trailing_index: true # Set to false to remove trailing 'index.html' from permalinks |
| 21 | + trailing_html: true # Set to false to remove trailing '.html' from permalinks |
| 22 | + |
| 23 | +# Directory |
| 24 | +source_dir: source |
| 25 | +public_dir: public |
| 26 | +tag_dir: tags |
| 27 | +archive_dir: archives |
| 28 | +category_dir: categories |
| 29 | +code_dir: downloads/code |
| 30 | +i18n_dir: :lang |
| 31 | +skip_render: |
| 32 | + |
| 33 | +# Writing |
| 34 | +new_post_name: :title.md # File name of new posts |
| 35 | +default_layout: post |
| 36 | +titlecase: false # Transform title into titlecase |
| 37 | +external_link: |
| 38 | + enable: true # Open external links in new tab |
| 39 | + field: site # Apply to the whole site |
| 40 | + exclude: '' |
| 41 | +filename_case: 0 |
| 42 | +render_drafts: false |
| 43 | +post_asset_folder: true |
| 44 | +relative_link: false |
| 45 | +marked: |
| 46 | + prependRoot: true |
| 47 | + postAsset: true |
| 48 | +future: true |
| 49 | +highlight: |
| 50 | + enable: true |
| 51 | + line_number: true |
| 52 | + auto_detect: false |
| 53 | + tab_replace: '' |
| 54 | + wrap: true |
| 55 | + hljs: false |
| 56 | +prismjs: |
| 57 | + enable: false |
| 58 | + preprocess: true |
| 59 | + line_number: true |
| 60 | + tab_replace: '' |
| 61 | + |
| 62 | +# Home page setting |
| 63 | +# path: Root path for your blogs index page. (default = '') |
| 64 | +# per_page: Posts displayed per page. (0 = disable pagination) |
| 65 | +# order_by: Posts order. (Order by date descending by default) |
| 66 | +index_generator: |
| 67 | + path: '' |
| 68 | + per_page: 10 |
| 69 | + order_by: -date |
| 70 | + |
| 71 | +# Category & Tag |
| 72 | +default_category: uncategorized |
| 73 | +category_map: |
| 74 | +tag_map: |
| 75 | + |
| 76 | +# Metadata elements |
| 77 | +## https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta |
| 78 | +meta_generator: true |
| 79 | + |
| 80 | +# Date / Time format |
| 81 | +## Hexo uses Moment.js to parse and display date |
| 82 | +## You can customize the date format as defined in |
| 83 | +## http://momentjs.com/docs/#/displaying/format/ |
| 84 | +date_format: YYYY-MM-DD |
| 85 | +time_format: HH:mm:ss |
| 86 | +## updated_option supports 'mtime', 'date', 'empty' |
| 87 | +updated_option: 'mtime' |
| 88 | + |
| 89 | +# Pagination |
| 90 | +## Set per_page to 0 to disable pagination |
| 91 | +per_page: 10 |
| 92 | +pagination_dir: page |
| 93 | + |
| 94 | +# Include / Exclude file(s) |
| 95 | +## include:/exclude: options only apply to the 'source/' folder |
| 96 | +include: |
| 97 | +exclude: |
| 98 | +ignore: |
| 99 | + |
| 100 | +# Extensions |
| 101 | +## Plugins: https://hexo.io/plugins/ |
| 102 | +## Themes: https://hexo.io/themes/ |
| 103 | +# theme: butterfly |
| 104 | +# theme: landscape |
| 105 | +theme: next |
| 106 | + |
| 107 | +# Deployment |
| 108 | +## Docs: https://hexo.io/docs/one-command-deployment |
| 109 | +deploy: |
| 110 | + type: '' |
0 commit comments