_config.yml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  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 File Uploader
  9. subtitle: "Almost as cute as a puppy"
  10. logo_large: /images/logos/uppy-dog-full.svg
  11. logo_medium: /images/logos/uppy-dog-head-arrow.svg
  12. logo_icon: /images/logos/uppy-dog-head-arrow.png
  13. description: >
  14. Sleek, modular file uploader that integrates seamlessly with any framework.
  15. It fetches files from local disk, Google Drive, Dropbox, Instagram, remote URLs, cameras and other exciting locations, and then uploads them to the final destination.
  16. It’s fast, easy to use and let's you worry about more important problems than building a file uploader.
  17. descriptionWho: >
  18. Uppy is brought to you by the people
  19. behind <a href="https://transloadit.com">Transloadit</a> and as such will have first class support
  20. for adding their uploading and encoding backend, but this is opt-in,
  21. and you can just as easily roll your own.
  22. author: Transloadit
  23. email: uppybot@uppy.io
  24. language: English
  25. # URL
  26. ## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
  27. url: https://uppy.io
  28. root: /
  29. permalink: blog/:year/:month/:title/
  30. tag_dir: tags
  31. archive_dir: archives
  32. category_dir: categories
  33. code_dir: examples
  34. # Directory
  35. source_dir: src
  36. public_dir: public
  37. # Writing
  38. new_post_name: :year-:month-:title.md # File name of new posts
  39. default_layout: post
  40. auto_spacing: false # Add spaces between asian characters and western characters
  41. titlecase: false # Transform title into titlecase
  42. external_link: true # Open external links in new tab
  43. max_open_file: 100
  44. multi_thread: true
  45. filename_case: 0
  46. render_drafts: false
  47. post_asset_folder: false
  48. highlight:
  49. enable: false
  50. # Category & Tag
  51. default_category: uncategorized
  52. category_map:
  53. tag_map:
  54. # Archives
  55. ## 2: Enable pagination
  56. ## 1: Disable pagination
  57. ## 0: Fully Disable
  58. archive: 0
  59. category: 0
  60. tag: 0
  61. # Server
  62. ## Hexo uses Connect as a server
  63. ## You can customize the logger format as defined in
  64. ## http://www.senchalabs.org/connect/logger.html
  65. port: 4000
  66. logger: false
  67. logger_format:
  68. # Date / Time format
  69. ## Hexo uses Moment.js to parse and display date
  70. ## You can customize the date format as defined in
  71. ## http://momentjs.com/docs/#/displaying/format/
  72. date_format: MMM D YYYY
  73. time_format: H:mm:ss
  74. # Pagination
  75. ## Set per_page to 0 to disable pagination
  76. per_page: 10
  77. pagination_dir: page
  78. # Disqus
  79. disqus_shortname:
  80. # Extensions
  81. ## Plugins: https://github.com/tommy351/hexo/wiki/Plugins
  82. ## Themes: https://github.com/tommy351/hexo/wiki/Themes
  83. theme: uppy
  84. exclude_generator:
  85. # hexo-tag-emojis plugin configuration
  86. emojis:
  87. image_dir: images/emojis
  88. # Markdown
  89. ## https://github.com/chjj/marked
  90. marked:
  91. gfm: true
  92. pedantic: false
  93. sanitize: false
  94. tables: true
  95. breaks: true
  96. smartLists: true
  97. smartypants: true
  98. # modifyAnchors: 1
  99. autolink: true
  100. prism_plugin:
  101. mode: 'preprocess'
  102. theme: 'tomorrow'
  103. line_number: false
  104. feed:
  105. type: atom
  106. path: atom.xml
  107. limit: 20
  108. node_sass:
  109. debug: false
  110. outputStyle: compressed
  111. precision: 5
  112. sourceComments: false
  113. postcss:
  114. plugins:
  115. postcss-inline-svg:
  116. path: 'src/images'
  117. autoprefixer:
  118. browsers:
  119. - 'last 2 versions'
  120. cssnano:
  121. browsersync:
  122. files: 'public/examples/**/*.js'
  123. watchOptions:
  124. awaitWriteFinish:
  125. - stabilityThreshold: 3000
  126. - pollInterval: 100
  127. skip_render:
  128. - '*.js'
  129. - '**/*.js'
  130. - '*.es6'
  131. - '**/*.es6'
  132. alias:
  133. examples/: examples/dashboard/