hugo.yaml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. # Docsy config
  2. #
  3. # cSpell:ignore docsy fortawesome fontawesome webfonts
  4. params:
  5. time_format_blog: Monday, January 02, 2006
  6. time_format_default: January 2, 2006
  7. rss_sections: [blog]
  8. outputFormats:
  9. PRINT:
  10. baseName: index
  11. isHTML: true
  12. mediaType: text/html
  13. path: _print
  14. permalinkable: false
  15. module:
  16. hugoVersion:
  17. extended: true
  18. min: 0.146.0
  19. mounts:
  20. - source: assets
  21. target: assets
  22. - source: node_modules/bootstrap
  23. target: assets/vendor/bootstrap
  24. - source: node_modules/@fortawesome/fontawesome-free
  25. target: assets/vendor/Font-Awesome
  26. - source: i18n
  27. target: i18n
  28. - source: layouts
  29. target: layouts
  30. - source: static
  31. target: static
  32. - source: node_modules/@fortawesome/fontawesome-free/webfonts
  33. target: static/webfonts
  34. # Mounts for projects using Docsy as an NPM package. The source path prefix
  35. # "../.." moves out of themes/docsy so that Docsy can find its dependencies.
  36. - source: ../../node_modules/bootstrap
  37. target: assets/vendor/bootstrap
  38. - source: ../../node_modules/@fortawesome/fontawesome-free
  39. target: assets/vendor/Font-Awesome
  40. - source: ../../node_modules/@fortawesome/fontawesome-free/webfonts
  41. target: static/webfonts
  42. # Mounts for module installations,
  43. # needed to work around a known bug in Go’s module management.
  44. - source: assets/_vendor/bootstrap/scss
  45. target: assets/vendor/bootstrap/scss/vendor
  46. imports:
  47. - path: github.com/twbs/bootstrap
  48. disable: false
  49. mounts:
  50. - source: scss
  51. target: assets/vendor/bootstrap/scss
  52. - source: dist/js
  53. target: assets/vendor/bootstrap/dist/js
  54. - path: github.com/FortAwesome/Font-Awesome
  55. disable: false
  56. mounts:
  57. - source: scss
  58. target: assets/vendor/Font-Awesome/scss
  59. - source: webfonts
  60. target: static/webfonts