_config.yml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. # Hexo Configuration
  2. ## Docs: http://zespia.tw/hexo/docs/configuration.html
  3. ## Source: https://github.com/tommy351/hexo/
  4. # Uppy versions, auto updated by update.js
  5. uppy_version: 0.0.1
  6. uppy_dev_size: "96.88"
  7. uppy_min_size: "96.88"
  8. uppy_gz_size: "96.88"
  9. # Theme
  10. google_analytics: UA-63083-12
  11. root_domain: uppy.io
  12. # Site
  13. title: Uppy
  14. subtitle: "Almost as cute as a puppy"
  15. logo_large: /images/uppy.svg
  16. logo_medium: /images/uppy.svg
  17. logo_icon: /images/uppy.png
  18. description: >
  19. Uppy is (going to be) a JavaScript file uploader that fetches files from Dropbox, Instagram, local disk, remote URLs, and other exciting locations.
  20. It has a Plugin-based architecture, first-class support for resumable uploads via <a href="http://tus.io">tus.io</a>
  21. and custom encoding backends, making it very extensible and robust.<br />
  22. <br />
  23. Uppy is brought to you by the people behind <a href="https://transloadit.com">Transloadit</a> and as such has first class
  24. support for adding their uploading and encoding backend, but this is opt-in, and you can just as easily
  25. roll your own. Uppy is in the early stages of development and should not be used for anything serious yet.
  26. author: Transloadit
  27. email: uppybot@uppy.io
  28. language: English
  29. # URL
  30. ## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
  31. url: http://uppy.io
  32. root: /
  33. permalink: :year/:month/:day/:title/
  34. tag_dir: tags
  35. archive_dir: archives
  36. category_dir: categories
  37. code_dir: examples
  38. # Directory
  39. source_dir: src
  40. public_dir: public
  41. # Writing
  42. new_post_name: :title.md # File name of new posts
  43. default_layout: post
  44. auto_spacing: false # Add spaces between asian characters and western characters
  45. titlecase: false # Transform title into titlecase
  46. external_link: true # Open external links in new tab
  47. max_open_file: 100
  48. multi_thread: true
  49. filename_case: 0
  50. render_drafts: false
  51. post_asset_folder: false
  52. highlight:
  53. enable: true
  54. line_number: false
  55. tab_replace:
  56. # Category & Tag
  57. default_category: uncategorized
  58. category_map:
  59. tag_map:
  60. # Archives
  61. ## 2: Enable pagination
  62. ## 1: Disable pagination
  63. ## 0: Fully Disable
  64. archive: 0
  65. category: 0
  66. tag: 0
  67. # Server
  68. ## Hexo uses Connect as a server
  69. ## You can customize the logger format as defined in
  70. ## http://www.senchalabs.org/connect/logger.html
  71. port: 4000
  72. logger: false
  73. logger_format:
  74. # Date / Time format
  75. ## Hexo uses Moment.js to parse and display date
  76. ## You can customize the date format as defined in
  77. ## http://momentjs.com/docs/#/displaying/format/
  78. date_format: MMM D YYYY
  79. time_format: H:mm:ss
  80. # Pagination
  81. ## Set per_page to 0 to disable pagination
  82. per_page: 10
  83. pagination_dir: page
  84. # Disqus
  85. disqus_shortname:
  86. # Extensions
  87. ## Plugins: https://github.com/tommy351/hexo/wiki/Plugins
  88. ## Themes: https://github.com/tommy351/hexo/wiki/Themes
  89. theme: uppy
  90. exclude_generator:
  91. # hexo-tag-emojis plugin configuration
  92. emojis:
  93. image_dir: images/emojis
  94. # Markdown
  95. ## https://github.com/chjj/marked
  96. markdown:
  97. gfm: true
  98. pedantic: false
  99. sanitize: false
  100. tables: true
  101. breaks: true
  102. smartLists: true
  103. smartypants: true
  104. node_sass:
  105. debug: false
  106. outputStyle: compressed
  107. precision: 5
  108. sourceComments: false
  109. postcss:
  110. plugins:
  111. postcss-svg:
  112. debug: false
  113. paths:
  114. - 'src/images'
  115. defaults: "[fill]: #000000"
  116. autoprefixer:
  117. browsers:
  118. - 'last 2 versions'
  119. # browsersync:
  120. # files: 'public/examples/**/*.js'
  121. skip_render:
  122. - '*.js'
  123. - '**/*.js'
  124. - '*.es6'
  125. - '**/*.es6'