You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

config.yml 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # hugo server --themesDir ... --baseURL=http://0.0.0.0:1313/example
  2. baseURL: https://example.com/
  3. title: Hugo Book
  4. theme: hugo-book
  5. disableKinds: ["taxonomy", "taxonomyTerm"]
  6. # themesDir: ../..
  7. # Book configuration
  8. disablePathToLower: true
  9. enableGitInfo: true
  10. # Code highlight
  11. pygmentsStyle: monokailight
  12. pygmentsCodeFences: true
  13. params:
  14. # (Optional, default true) Show or hide table of contents globally
  15. # You can also specify this parameter per page in front matter
  16. BookShowToC: true
  17. # (Optional, default none) Set leaf bundle to render as side menu
  18. # When not specified file structure and weights will be used
  19. BookMenuBundle: /menu
  20. # (Optional, default docs) Specify section of content to render as menu
  21. # You can also set value to "*" to render all sections to menu
  22. BookSection: docs
  23. # This value is duplicate of $link-color for making active link highlight in menu bundle mode
  24. # BookMenuBundleActiveLinkColor: \#004ed0
  25. # Include JS scripts in pages. Disabled by default.
  26. # - Keep side menu on same scroll position during navigation
  27. BookEnableJS: true
  28. # Set source repository location.
  29. # Used for 'Last Modified' and 'Edit this page' links.
  30. BookRepo: https://github.com/alex-shpak/hugo-book
  31. # Enable "Edit this page" links for 'doc' page type.
  32. # Disabled by default. Uncomment to enable. Requires 'BookRepo' param.
  33. # Path must point to 'content' directory of repo.
  34. BookEditPath: edit/master/exampleSite/content
  35. # Configure the date format used on the pages
  36. # - In git information
  37. # - In blog posts
  38. BookDateFormat: "Jan 2, 2006"