_config.yml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  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. # Deployment
  89. ## Docs: https://hexo.io/docs/deployment.html
  90. deploy:
  91. type: sftp
  92. host: 162.243.124.54
  93. port: 22
  94. user: admin
  95. pass: SuperUnicorn2048
  96. remotePath: /var/www/jamesperet-website-2020/public_html/
  97. forceUpload: false
  98. concurrency: 1
  99. links:
  100. - icon: twitter
  101. link: http://twitter.com/jamesperet
  102. - icon: vimeo
  103. link: http://vimeo.com/jamesperet
  104. - icon: github
  105. link: http://github.com/jamesperet
  106. - icon: tumblr
  107. link: http://jamesperet.tumblr.com/
  108. - icon: youtube
  109. link: http://youtube.com/jamesperet
  110. - icon: linkedin
  111. link: http://www.linkedin.com/in/jamesperet
  112. - icon: lastfm
  113. link: https://www.last.fm/user/James_Peret
  114. - icon: facebook
  115. link: http://facebook.com/jamesperet
  116. - icon: itch-io
  117. link: http://jamesperet.itch.io
  118. - icon: steam
  119. link: https://steamcommunity.com/id/jamesperet/
  120. - icon: git
  121. link: http://gogs.jamesperet.com/
  122. - icon: npm
  123. link: https://www.npmjs.com/~jamesperet
  124. - icon: soundcloud
  125. link: https://soundcloud.com/james-peret
  126. - icon: twitch.tv
  127. link: https://www.twitch.tv/james_peret
  128. - icon: rss
  129. link: https://jamesperet.com/rss.xml
  130. - icon: pinterest
  131. link: https://br.pinterest.com/jamesperet/
  132. - icon: unity
  133. link: https://connect.unity.com/u/james-peret
  134. - icon: angellist
  135. link: https://angel.co/u/jamesperet
  136. - icon: codepen
  137. link: https://codepen.io/jamesperet/pens/templates/
  138. - icon: behance
  139. link: https://www.behance.net/jamesperet
  140. feed:
  141. type: atom
  142. path: rss.xml
  143. limit: 20
  144. content:
  145. content_limit: 140
  146. content_limit_delim: ' '
  147. order_by: -date
  148. icon: icon.png
  149. autodiscovery: true
  150. sitemap:
  151. path: sitemap.xml
  152. tag: false
  153. category: false
  154. prism_plugin:
  155. mode: 'preprocess' # realtime/preprocess
  156. theme: 'atom-dark'
  157. line_number: false # default false