_config.yml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. # Hexo Configuration
  2. ## Docs: https://hexo.io/docs/configuration.html
  3. ## Source: https://github.com/hexojs/hexo/
  4. # Site
  5. title: James Peret
  6. subtitle: ''
  7. description: ''
  8. keywords:
  9. author: james Peret
  10. language: en
  11. timezone: ''
  12. mixpanel_token: f6a10e1546e61c9f46a4e945ed38318f
  13. # URL
  14. ## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
  15. url: http://jamesperet.com
  16. root: /
  17. permalink: :title/
  18. permalink_defaults:
  19. pretty_urls:
  20. trailing_index: true # Set to false to remove trailing 'index.html' from permalinks
  21. trailing_html: true # Set to false to remove trailing '.html' from permalinks
  22. # Directory
  23. source_dir: source
  24. public_dir: public
  25. tag_dir: tags
  26. archive_dir: archives
  27. category_dir: categories
  28. code_dir: downloads/code
  29. i18n_dir: :lang
  30. skip_render:
  31. # Writing
  32. new_post_name: :title.md # File name of new posts
  33. default_layout: post
  34. titlecase: false # Transform title into titlecase
  35. external_link:
  36. enable: true # Open external links in new tab
  37. field: site # Apply to the whole site
  38. exclude: ''
  39. filename_case: 0
  40. render_drafts: false
  41. post_asset_folder: true
  42. relative_link: false
  43. future: true
  44. highlight:
  45. enable: false
  46. line_number: false
  47. auto_detect: false
  48. tab_replace: ''
  49. wrap: true
  50. hljs: false
  51. # Home page setting
  52. # path: Root path for your blogs index page. (default = '')
  53. # per_page: Posts displayed per page. (0 = disable pagination)
  54. # order_by: Posts order. (Order by date descending by default)
  55. index_generator:
  56. path: ''
  57. per_page: 100
  58. order_by: -date
  59. # Category & Tag
  60. default_category: uncategorized
  61. category_map:
  62. tag_map:
  63. # Metadata elements
  64. ## https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
  65. meta_generator: true
  66. # Date / Time format
  67. ## Hexo uses Moment.js to parse and display date
  68. ## You can customize the date format as defined in
  69. ## http://momentjs.com/docs/#/displaying/format/
  70. date_format: YYYY-MM-DD
  71. time_format: HH:mm:ss
  72. ## Use post's date for updated date unless set in front-matter
  73. use_date_for_updated: false
  74. # Pagination
  75. ## Set per_page to 0 to disable pagination
  76. per_page: 10
  77. pagination_dir: page
  78. # Include / Exclude file(s)
  79. ## include:/exclude: options only apply to the 'source/' folder
  80. include:
  81. exclude:
  82. ignore:
  83. - "/archives"
  84. # Extensions
  85. ## Plugins: https://hexo.io/plugins/
  86. ## Themes: https://hexo.io/themes/
  87. theme: james-theme
  88. links:
  89. - icon: twitter
  90. link: http://twitter.com/jamesperet
  91. - icon: vimeo
  92. link: http://vimeo.com/jamesperet
  93. - icon: github
  94. link: http://github.com/jamesperet
  95. - icon: tumblr
  96. link: http://jamesperet.tumblr.com/
  97. - icon: youtube
  98. link: http://youtube.com/jamesperet
  99. - icon: linkedin
  100. link: http://www.linkedin.com/in/jamesperet
  101. - icon: lastfm
  102. link: https://www.last.fm/user/James_Peret
  103. - icon: facebook
  104. link: http://facebook.com/jamesperet
  105. - icon: itch-io
  106. link: http://jamesperet.itch.io
  107. - icon: steam
  108. link: https://steamcommunity.com/id/jamesperet/
  109. - icon: git
  110. link: http://gogs.jamesperet.com/
  111. - icon: npm
  112. link: https://www.npmjs.com/~jamesperet
  113. - icon: soundcloud
  114. link: https://soundcloud.com/james-peret
  115. - icon: twitch.tv
  116. link: https://www.twitch.tv/james_peret
  117. - icon: rss
  118. link: https://jamesperet.com/rss.xml
  119. - icon: pinterest
  120. link: https://br.pinterest.com/jamesperet/
  121. - icon: unity
  122. link: https://connect.unity.com/u/james-peret
  123. - icon: angellist
  124. link: https://angel.co/u/jamesperet
  125. - icon: codepen
  126. link: https://codepen.io/jamesperet/pens/templates/
  127. - icon: behance
  128. link: https://www.behance.net/jamesperet
  129. feed:
  130. type: atom
  131. path: rss.xml
  132. limit: 20
  133. content:
  134. content_limit: 140
  135. content_limit_delim: ' '
  136. order_by: -date
  137. icon: icon.png
  138. autodiscovery: true
  139. sitemap:
  140. path: sitemap.xml
  141. tag: false
  142. category: false
  143. prism_plugin:
  144. mode: 'preprocess' # realtime/preprocess
  145. theme: 'atom-dark'
  146. line_number: false # default false