_config.yml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. # Hexo Configuration
  2. ## Docs: https://hexo.io/docs/configuration.html
  3. ## Source: https://github.com/hexojs/hexo/
  4. # Site
  5. title: 杂货间 - 个人java技术分享
  6. subtitle: 个人技术分享及记录
  7. description: 个人技术分享及记录
  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: https://blog.dazhidayong.cn
  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: 5
  70. pagination_dir: page
  71. # Extensions
  72. ## Plugins: https://hexo.io/plugins/
  73. ## Themes: https://hexo.io/themes/
  74. theme: material-flow
  75. search:
  76. path: search.xml
  77. field: post
  78. autoprefixer:
  79. exclude:
  80. - '*.min.css'
  81. # remove: false # prevent autoprefixer remove page-break-inside
  82. # browsers:
  83. # - 'last 2 versions'
  84. # - '> 5%'
  85. # Generator json content
  86. jsonContent:
  87. meta: false
  88. keywords: false
  89. pages:
  90. title: true
  91. slug: false
  92. date: false
  93. updated: false
  94. comments: false
  95. path: false
  96. link: false
  97. permalink: true
  98. excerpt: false
  99. keywords: false
  100. text: true
  101. raw: false
  102. content: false
  103. posts:
  104. title: true
  105. slug: false
  106. date: false
  107. updated: false
  108. comments: false
  109. path: false
  110. link: false
  111. permalink: true
  112. excerpt: false
  113. keywords: false
  114. text: true
  115. raw: false
  116. content: false
  117. categories: false
  118. tags: false
  119. feed:
  120. type: atom
  121. path: atom.xml
  122. limit: 20
  123. hub:
  124. content:
  125. # Deployment
  126. ## Docs: https://hexo.io/docs/deployment.html
  127. deploy:
  128. type: