_config.yml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. # Hexo Configuration
  2. ## Docs: http://hexo.io/docs/configuration.html
  3. ## Source: https://github.com/hexojs/hexo/
  4. # Site
  5. title: Icarus
  6. subtitle:
  7. description: Hexo theme - Icarus
  8. author: PPOffice
  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: http://ppoffice.github.io/hexo-theme-icarus
  14. root: /hexo-theme-icarus/
  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. tab_replace:
  40. # Category & Tag
  41. default_category: uncategorized
  42. category_map:
  43. tag_map:
  44. # Date / Time format
  45. ## Hexo uses Moment.js to parse and display date
  46. ## You can customize the date format as defined in
  47. ## http://momentjs.com/docs/#/displaying/format/
  48. date_format: YYYY-MM-DD
  49. time_format: HH:mm:ss
  50. # Pagination
  51. ## Set per_page to 0 to disable pagination
  52. per_page: 6
  53. pagination_dir: page
  54. index_generator:
  55. per_page: 6
  56. archive_generator:
  57. per_page: 8
  58. yearly: true
  59. monthly: true
  60. category_generator:
  61. per_page: 8
  62. tag_generator:
  63. per_page: 8
  64. # Extensions
  65. ## Plugins: https://github.com/hexojs/hexo/wiki/Plugins
  66. ## Themes: https://github.com/hexojs/hexo/wiki/Themes
  67. theme: icarus
  68. # Deployment
  69. ## Docs: http://hexo.io/docs/deployment.html
  70. deploy:
  71. type: git
  72. repository: git@github.com:ppoffice/hexo-theme-icarus.git
  73. branch: gh-pages