_config.yml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  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/logos/uppy-dog-full.svg
  11. logo_medium: /images/logos/uppy-logo-2019.svg
  12. logo_icon: /images/logos/uppy-dog-head-arrow.png
  13. description: >
  14. Uppy fetches files locally and from remote places like Dropbox or Instagram.
  15. With its seamless integration, reliability and ease of use,
  16. Uppy is truly your best friend in file uploading.
  17. descriptionWho: >
  18. Uppy is brought to you by the people
  19. behind <a href="https://transloadit.com">Transloadit</a>, and as such will
  20. have 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: https://uppy.io
  29. root: /
  30. permalink: blog/:year/:month/: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: :year-:month-: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: false
  51. line_number: false
  52. # Category & Tag
  53. default_category: uncategorized
  54. category_map:
  55. tag_map:
  56. # Archives
  57. ## 2: Enable pagination
  58. ## 1: Disable pagination
  59. ## 0: Fully Disable
  60. archive: 0
  61. category: 0
  62. tag: 0
  63. # Server
  64. ## Hexo uses Connect as a server
  65. ## You can customize the logger format as defined in
  66. ## http://www.senchalabs.org/connect/logger.html
  67. port: 4000
  68. logger: false
  69. logger_format:
  70. # Date / Time format
  71. ## Hexo uses Moment.js to parse and display date
  72. ## You can customize the date format as defined in
  73. ## http://momentjs.com/docs/#/displaying/format/
  74. date_format: MMM D YYYY
  75. time_format: H:mm:ss
  76. # Pagination
  77. ## Set per_page to 0 to disable pagination
  78. per_page: 10
  79. pagination_dir: page
  80. # Disqus
  81. disqus_shortname:
  82. # Extensions
  83. ## Plugins: https://github.com/tommy351/hexo/wiki/Plugins
  84. ## Themes: https://github.com/tommy351/hexo/wiki/Themes
  85. theme: uppy
  86. exclude_generator:
  87. # hexo-tag-emojis plugin configuration
  88. emojis:
  89. image_dir: images/emojis
  90. # Markdown
  91. ## https://github.com/chjj/marked
  92. marked:
  93. gfm: true
  94. pedantic: false
  95. sanitize: false
  96. tables: true
  97. breaks: true
  98. smartLists: true
  99. smartypants: true
  100. # modifyAnchors: 1
  101. autolink: true
  102. feed:
  103. type: atom
  104. path: atom.xml
  105. limit: 20
  106. # https://github.com/crimx/hexo-filter-github-emojis
  107. githubEmojis:
  108. enable: true
  109. className: github-emoji
  110. inject: true
  111. styles:
  112. customEmojis:
  113. node_sass:
  114. debug: false
  115. outputStyle: compressed
  116. precision: 5
  117. sourceComments: false
  118. postcss:
  119. plugins:
  120. postcss-inline-svg:
  121. path: 'src/images'
  122. autoprefixer:
  123. browsers:
  124. - 'last 2 versions'
  125. cssnano:
  126. safe: true
  127. browsersync:
  128. files: 'public/examples/**/*.js'
  129. watchOptions:
  130. awaitWriteFinish:
  131. - stabilityThreshold: 3000
  132. - pollInterval: 100
  133. skip_render:
  134. - '*.js'
  135. - '**/*.js'
  136. - '*.es6'
  137. - '**/*.es6'
  138. alias:
  139. examples/: examples/dashboard/
  140. include_markdown:
  141. dir: "src/_template" # Base directory of template markdown
  142. verbose : true