_config.yml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. # Hexo Configuration
  2. ## Docs: https://hexo.io/docs/configuration.html
  3. ## Source: https://github.com/hexojs/hexo/
  4. # Site
  5. title: Hexo
  6. subtitle:
  7. description:
  8. author: John Doe
  9. language:
  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: http://yoursite.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: :title.md # File name of new posts
  28. default_layout: post
  29. titlecase: false # Transform title into titlecase
  30. external_link: true # Open external links in new tab
  31. filename_case: 0
  32. render_drafts: false
  33. post_asset_folder: false
  34. relative_link: false
  35. future: true
  36. highlight:
  37. enable: true
  38. line_number: true
  39. auto_detect: false
  40. tab_replace:
  41. # Category & Tag
  42. default_category: uncategorized
  43. category_map:
  44. tag_map:
  45. # Date / Time format
  46. ## Hexo uses Moment.js to parse and display date
  47. ## You can customize the date format as defined in
  48. ## http://momentjs.com/docs/#/displaying/format/
  49. date_format: YYYY-MM-DD
  50. time_format: HH:mm:ss
  51. # Pagination
  52. ## Set per_page to 0 to disable pagination
  53. per_page: 10
  54. pagination_dir: page
  55. # Extensions
  56. ## Plugins: https://hexo.io/plugins/
  57. ## Themes: https://hexo.io/themes/
  58. theme: landscape
  59. # Deployment
  60. ## Docs: https://hexo.io/docs/deployment.html
  61. deploy:
  62. type: