_config.yml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. # Hexo Configuration
  2. ## Docs: https://hexo.io/docs/configuration.html
  3. ## Source: https://github.com/hexojs/hexo/
  4. # Site
  5. title: Mp's Blog
  6. subtitle: MilesPong
  7. description: A self-hosted blog of Miles
  8. author: Miles Pong
  9. language: en
  10. timezone:
  11. # URL
  12. ## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
  13. url: https://blog.solomp.com
  14. root: /
  15. permalink: :year/:month/:day/:title/
  16. permalink_defaults:
  17. # Directory
  18. source_dir: source
  19. public_dir: public
  20. tag_dir: tags
  21. archive_dir: archives
  22. category_dir: categories
  23. code_dir: downloads/code
  24. i18n_dir: :lang
  25. skip_render:
  26. # Writing
  27. new_post_name: :year-:month-:day-:title.md # File name of new posts
  28. default_layout: post
  29. auto_spacing: true
  30. titlecase: false # Transform title into titlecase
  31. external_link: true # Open external links in new tab
  32. filename_case: 0
  33. render_drafts: false
  34. post_asset_folder: false
  35. relative_link: false
  36. future: true
  37. highlight:
  38. enable: true
  39. line_number: true
  40. auto_detect: false
  41. tab_replace:
  42. # Category & Tag
  43. default_category: uncategorized
  44. category_map:
  45. tag_map:
  46. # Date / Time format
  47. ## Hexo uses Moment.js to parse and display date
  48. ## You can customize the date format as defined in
  49. ## http://momentjs.com/docs/#/displaying/format/
  50. date_format: YYYY-MM-DD
  51. time_format: HH:mm:ss
  52. # Pagination
  53. ## Set per_page to 0 to disable pagination
  54. per_page: 10
  55. pagination_dir: page
  56. # Extensions
  57. ## Plugins: https://hexo.io/plugins/
  58. ## Themes: https://hexo.io/themes/
  59. theme: icarus
  60. # Deployment
  61. ## Docs: https://hexo.io/docs/deployment.html
  62. deploy:
  63. type: