_config.yml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  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. With its seamless integration, reliability and ease of use, Uppy is truly man’s best friend in file uploading.
  15. descriptionWho: >
  16. Uppy is brought to you by the people
  17. behind <a href="https://transloadit.com">Transloadit</a>, and as such will have first class support
  18. for adding their uploading and encoding backend, but this is opt-in,
  19. and you can just as easily roll your own.
  20. author: Transloadit
  21. email: uppybot@uppy.io
  22. language: English
  23. # URL
  24. ## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
  25. url: https://uppy.io
  26. root: /
  27. permalink: blog/:year/:month/:title/
  28. tag_dir: tags
  29. archive_dir: archives
  30. category_dir: categories
  31. code_dir: examples
  32. # Directory
  33. source_dir: src
  34. public_dir: public
  35. # Writing
  36. new_post_name: :year-:month-:title.md # File name of new posts
  37. default_layout: post
  38. auto_spacing: false # Add spaces between asian characters and western characters
  39. titlecase: false # Transform title into titlecase
  40. external_link: true # Open external links in new tab
  41. max_open_file: 100
  42. multi_thread: true
  43. filename_case: 0
  44. render_drafts: false
  45. post_asset_folder: false
  46. highlight:
  47. enable: false
  48. line_number: false
  49. # Category & Tag
  50. default_category: uncategorized
  51. category_map:
  52. tag_map:
  53. # Archives
  54. ## 2: Enable pagination
  55. ## 1: Disable pagination
  56. ## 0: Fully Disable
  57. archive: 0
  58. category: 0
  59. tag: 0
  60. # Server
  61. ## Hexo uses Connect as a server
  62. ## You can customize the logger format as defined in
  63. ## http://www.senchalabs.org/connect/logger.html
  64. port: 4000
  65. logger: false
  66. logger_format:
  67. # Date / Time format
  68. ## Hexo uses Moment.js to parse and display date
  69. ## You can customize the date format as defined in
  70. ## http://momentjs.com/docs/#/displaying/format/
  71. date_format: MMM D YYYY
  72. time_format: H:mm:ss
  73. # Pagination
  74. ## Set per_page to 0 to disable pagination
  75. per_page: 10
  76. pagination_dir: page
  77. # Disqus
  78. disqus_shortname:
  79. # Extensions
  80. ## Plugins: https://github.com/tommy351/hexo/wiki/Plugins
  81. ## Themes: https://github.com/tommy351/hexo/wiki/Themes
  82. theme: uppy
  83. exclude_generator:
  84. # hexo-tag-emojis plugin configuration
  85. emojis:
  86. image_dir: images/emojis
  87. # Markdown
  88. ## https://github.com/chjj/marked
  89. marked:
  90. gfm: true
  91. pedantic: false
  92. sanitize: false
  93. tables: true
  94. breaks: true
  95. smartLists: true
  96. smartypants: true
  97. # modifyAnchors: 1
  98. autolink: true
  99. feed:
  100. type: atom
  101. path: atom.xml
  102. limit: 20
  103. # https://github.com/crimx/hexo-filter-github-emojis
  104. githubEmojis:
  105. enable: true
  106. className: github-emoji
  107. inject: true
  108. styles:
  109. customEmojis:
  110. node_sass:
  111. debug: false
  112. outputStyle: compressed
  113. precision: 5
  114. sourceComments: false
  115. postcss:
  116. plugins:
  117. postcss-inline-svg:
  118. path: 'src/images'
  119. autoprefixer:
  120. browsers:
  121. - 'last 2 versions'
  122. cssnano:
  123. safe: true
  124. browsersync:
  125. files: 'public/examples/**/*.js'
  126. watchOptions:
  127. awaitWriteFinish:
  128. - stabilityThreshold: 3000
  129. - pollInterval: 100
  130. skip_render:
  131. - '*.js'
  132. - '**/*.js'
  133. - '*.es6'
  134. - '**/*.es6'
  135. alias:
  136. examples/: examples/dashboard/
  137. include_markdown:
  138. dir: "src/_template" # Base directory of template markdown
  139. verbose : true