_config.yml.site.example 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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. author_title: 'Web Developer & Designer'
  10. avatar: css/images/avatar.png
  11. location: 'Harbin, China'
  12. follow: https://github.com/ppoffice/
  13. email: # Your email (Used to show Gravatar).
  14. language: en
  15. timezone:
  16. since: 2000 # The start year showing in your copyright section.
  17. # URL
  18. ## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
  19. url: http://ppoffice.github.io/hexo-theme-icarus
  20. root: /hexo-theme-icarus/
  21. permalink: :year/:month/:day/:title/
  22. permalink_defaults:
  23. # Directory
  24. source_dir: source
  25. public_dir: public
  26. tag_dir: tags
  27. archive_dir: archives
  28. category_dir: categories
  29. code_dir: downloads/code
  30. i18n_dir: :lang
  31. skip_render:
  32. # Writing
  33. new_post_name: :title.md # File name of new posts
  34. default_layout: post
  35. titlecase: false # Transform title into titlecase
  36. external_link: true # Open external links in new tab
  37. filename_case: 0
  38. render_drafts: false
  39. post_asset_folder: false
  40. relative_link: false
  41. future: true
  42. highlight:
  43. enable: true
  44. line_number: true
  45. tab_replace:
  46. # Category & Tag
  47. default_category: uncategorized
  48. category_map:
  49. tag_map:
  50. # Date / Time format
  51. ## Hexo uses Moment.js to parse and display date
  52. ## You can customize the date format as defined in
  53. ## http://momentjs.com/docs/#/displaying/format/
  54. date_format: YYYY-MM-DD
  55. time_format: HH:mm:ss
  56. # Pagination
  57. ## Set per_page to 0 to disable pagination
  58. per_page: 6
  59. pagination_dir: page
  60. # Extensions
  61. ## Plugins: https://github.com/hexojs/hexo/wiki/Plugins
  62. ## Themes: https://github.com/hexojs/hexo/wiki/Themes
  63. theme: icarus
  64. # Disqus
  65. # disqus_shortname: hexo-theme-icarus
  66. # DuoShuo
  67. # duoshuo_shortname: hexo-theme-icarus
  68. # Swiftype
  69. # swiftype_install_key: XXX_XXXXXXXXXXXXXXXX
  70. # Deployment
  71. ## Docs: http://hexo.io/docs/deployment.html
  72. deploy:
  73. type: git
  74. repository: https://github.com/ppoffice/hexo-theme-icarus.git
  75. branch: gh-pages