_config.yml 3.9 KB

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