_config.yml 3.3 KB

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