_config.yml 3.4 KB

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