_config.yml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. # Hexo Configuration
  2. ## Docs: https://hexo.io/docs/configuration.html
  3. ## Source: https://github.com/hexojs/hexo/
  4. # Site
  5. title: 杂货间
  6. subtitle: Killua's Home
  7. description: Grocery room for technology
  8. keywords:
  9. - blog
  10. - IT
  11. - java
  12. - linux
  13. - python
  14. author: Killua
  15. avatar: /images/avatar.jpg
  16. favicon: /images/favicon.ico
  17. language: zh-CN
  18. timezone: Asia/Shanghai
  19. # URL
  20. ## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
  21. url: http://blog.dzdy.xyz
  22. root: /
  23. permalink: :year/:month/:day/:title/
  24. permalink_defaults:
  25. # Directory
  26. source_dir: source
  27. public_dir: public
  28. tag_dir: tags
  29. archive_dir: archives
  30. category_dir: categories
  31. code_dir: downloads/code
  32. i18n_dir: :lang
  33. skip_render:
  34. # Writing
  35. new_post_name: :title.md # File name of new posts
  36. default_layout: post
  37. titlecase: false # Transform title into titlecase
  38. external_link: true # Open external links in new tab
  39. filename_case: 0
  40. render_drafts: false
  41. post_asset_folder: true
  42. relative_link: false
  43. future: true
  44. highlight:
  45. enable: true
  46. line_number: true
  47. auto_detect: false
  48. tab_replace:
  49. # Home page setting
  50. # path: Root path for your blogs index page. (default = '')
  51. # per_page: Posts displayed per page. (0 = disable pagination)
  52. # order_by: Posts order. (Order by date descending by default)
  53. index_generator:
  54. path: ''
  55. per_page: 10
  56. order_by: -date
  57. # Category & Tag
  58. default_category: uncategorized
  59. category_map:
  60. tag_map:
  61. # Date / Time format
  62. ## Hexo uses Moment.js to parse and display date
  63. ## You can customize the date format as defined in
  64. ## http://momentjs.com/docs/#/displaying/format/
  65. date_format: YYYY-MM-DD
  66. time_format: HH:mm:ss
  67. # Pagination
  68. ## Set per_page to 0 to disable pagination
  69. per_page: 10
  70. pagination_dir: page
  71. # Extensions
  72. ## Plugins: https://hexo.io/plugins/
  73. ## Themes: https://hexo.io/themes/
  74. theme: material-flow
  75. # Deployment
  76. ## Docs: https://hexo.io/docs/deployment.html
  77. deploy:
  78. type: