Tang Cheng | 60ba803 | 2016-06-20 15:31:17 +0800 | [diff] [blame] | 1 | # Hexo Configuration |
| 2 | ## Docs: https://hexo.io/docs/configuration.html |
| 3 | ## Source: https://github.com/hexojs/hexo/ |
| 4 | |
| 5 | # Site |
| 6 | title: 一卡通文档库 |
| 7 | subtitle: |
| 8 | description: |
| 9 | author: Supwisdom |
| 10 | language: zh-cn |
| 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://ykt.supwisdom.com |
Tang Cheng | c9a9a1a | 2016-08-25 14:44:58 +0800 | [diff] [blame^] | 16 | root: /yktdocs |
Tang Cheng | 60ba803 | 2016-06-20 15:31:17 +0800 | [diff] [blame] | 17 | permalink: :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 |
Tang Cheng | c3bb647 | 2016-06-24 17:30:49 +0800 | [diff] [blame] | 42 | line_number: false |
Tang Cheng | 60ba803 | 2016-06-20 15:31:17 +0800 | [diff] [blame] | 43 | auto_detect: false |
| 44 | tab_replace: |
| 45 | |
| 46 | # Category & Tag |
| 47 | default_category: uncategorized |
| 48 | category_map: |
| 49 | tag_map: |
| 50 | |
| 51 | toc: |
| 52 | maxDepth: 3 |
| 53 | |
| 54 | excerpt_link: Read More |
| 55 | fancybox: true |
| 56 | |
| 57 | theme_config: |
| 58 | # Header |
Tang Cheng | c9a9a1a | 2016-08-25 14:44:58 +0800 | [diff] [blame^] | 59 | navbar_brand: <img src="imgs/logo.jpg" width="24" height="24"> |
Tang Cheng | 60ba803 | 2016-06-20 15:31:17 +0800 | [diff] [blame] | 60 | menu: |
| 61 | Home: index.html |
| 62 | Archives: archives/ |
| 63 | |
| 64 | widgets: |
| 65 | - toc |
| 66 | - category |
| 67 | - archive |
| 68 | - recent_posts |
| 69 | - tag |
Tang Cheng | 4d8d7ba | 2016-06-21 13:39:07 +0800 | [diff] [blame] | 70 | |
| 71 | highlight: |
| 72 | enable: true |
Tang Cheng | 60ba803 | 2016-06-20 15:31:17 +0800 | [diff] [blame] | 73 | |
| 74 | marked: |
| 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/ |
| 87 | date_format: YYYY-MM-DD |
| 88 | time_format: HH:mm:ss |
| 89 | |
| 90 | # Pagination |
| 91 | ## Set per_page to 0 to disable pagination |
| 92 | per_page: 10 |
| 93 | pagination_dir: page |
| 94 | |
| 95 | # Extensions |
| 96 | ## Plugins: https://hexo.io/plugins/ |
| 97 | ## Themes: https://hexo.io/themes/ |
| 98 | theme: bootstrap-blog |
| 99 | |
| 100 | # Deployment |
| 101 | ## Docs: https://hexo.io/docs/deployment.html |
| 102 | deploy: |
| 103 | type: |