_config.yml.bak 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. # Hexo Configuration
  2. ## Docs: https://hexo.io/docs/configuration.html
  3. ## Source: https://github.com/hexojs/hexo/
  4. # Site
  5. title: "Limour's Blog"
  6. subtitle: ''
  7. description: ''
  8. keywords:
  9. author: Limour
  10. language: en
  11. timezone: 'Asia/Shanghai'
  12. # URL
  13. ## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project'
  14. url: https://hexo.limour.top
  15. permalink: :urlname.html
  16. permalink_defaults:
  17. urlname: index
  18. pretty_urls:
  19. trailing_index: false # Set to false to remove trailing 'index.html' from permalinks
  20. trailing_html: false # Set to false to remove trailing '.html' from permalinks
  21. # Directory
  22. source_dir: source
  23. public_dir: public
  24. tag_dir: tags
  25. archive_dir: archives
  26. category_dir: categories
  27. code_dir: downloads/code
  28. i18n_dir: :lang
  29. skip_render:
  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:
  35. enable: true # Open external links in new tab
  36. field: site # Apply to the whole site
  37. exclude: ''
  38. filename_case: 0
  39. render_drafts: false
  40. post_asset_folder: false
  41. relative_link: false
  42. future: true
  43. highlight:
  44. enable: true
  45. line_number: true
  46. auto_detect: false
  47. tab_replace: ''
  48. wrap: true
  49. hljs: false
  50. prismjs:
  51. enable: false
  52. preprocess: true
  53. line_number: true
  54. tab_replace: ''
  55. # Home page setting
  56. # path: Root path for your blogs index page. (default = '')
  57. # per_page: Posts displayed per page. (0 = disable pagination)
  58. # order_by: Posts order. (Order by date descending by default)
  59. index_generator:
  60. path: ''
  61. per_page: 10
  62. order_by: -date
  63. # Category & Tag
  64. default_category: uncategorized
  65. category_map:
  66. tag_map:
  67. # Metadata elements
  68. ## https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
  69. meta_generator: true
  70. # Date / Time format
  71. ## Hexo uses Moment.js to parse and display date
  72. ## You can customize the date format as defined in
  73. ## http://momentjs.com/docs/#/displaying/format/
  74. date_format: YYYY-MM-DD
  75. time_format: HH:mm:ss
  76. ## updated_option supports 'mtime', 'date', 'empty'
  77. updated_option: 'mtime'
  78. # Pagination
  79. ## Set per_page to 0 to disable pagination
  80. per_page: 10
  81. pagination_dir: page
  82. # Include / Exclude file(s)
  83. ## include:/exclude: options only apply to the 'source/' folder
  84. include:
  85. exclude:
  86. ignore:
  87. # Extensions
  88. ## Plugins: https://hexo.io/plugins/
  89. ## Themes: https://hexo.io/themes/
  90. theme: fluid
  91. # Deployment
  92. ## Docs: https://hexo.io/docs/one-command-deployment
  93. deploy:
  94. type: git
  95. repo: https://oauth2:ghp_xxxx@xxx.limour.top/xxx/https://github.com/limour-blog/limour-blog.github.io.git
  96. branch: gh-pages
  97. token: ghp_xxxx
  98. name: xxx@limour.top
  99. email: xxx@limour.top
  100. # hexo-generator-feed
  101. # https://github.com/hexojs/hexo-generator-feed
  102. feed:
  103. enable: true
  104. type:
  105. - atom
  106. - rss2
  107. path:
  108. - atom.xml
  109. - rss2.xml
  110. limit: 20
  111. markdown:
  112. plugins:
  113. - "@traptitech/markdown-it-katex"
  114. sitemap:
  115. path: sitemap.xml
  116. baidusitemap:
  117. path: baidusitemap.xml
  118. links:
  119. enable: true
  120. field: "post"
  121. exclude:
  122. - "limour.top"
  123. - "*.limour.top"