Alejandro Andreu's personal website https://alejandroandr.eu
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.

53 lines
1.8KB

  1. # hugo server --minify --themesDir ... --baseURL=http://0.0.0.0:1313/example
  2. baseURL = 'https://example.com/'
  3. title = 'Alejandro Andreu'
  4. theme = 'book'
  5. disableKinds = ['taxonomy', 'taxonomyTerm']
  6. enableEmoji = true
  7. # themesDir = '../..'
  8. # Book configuration
  9. disablePathToLower = true
  10. enableGitInfo = true
  11. # Code highlight
  12. # pygmentsStyle = 'monokailight'
  13. pygmentsCodeFences = true
  14. [params]
  15. # (Optional, default 6) Set how many table of contents levels to be showed on page.
  16. # Use false to hide ToC, note that 0 will default to 6 (https://gohugo.io/functions/default/)
  17. # You can also specify this parameter per page in front matter
  18. BookToC = 3
  19. # (Optional, default none) Set the path to a logo for the book. If the logo is
  20. # /static/logo.png then the path would be logo.png
  21. # BookLogo = 'logo.png'
  22. # (Optional, default none) Set leaf bundle to render as side menu
  23. # When not specified file structure and weights will be used
  24. BookMenuBundle = '/menu'
  25. # (Optional, default docs) Specify section of content to render as menu
  26. # You can also set value to '*' to render all sections to menu
  27. BookSection = 'docs'
  28. # Set source repository location.
  29. # Used for 'Last Modified' and 'Edit this page' links.
  30. BookRepo = 'https://git.alejandroandr.eu/alejandro/website'
  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'
  39. # (Optional, default true) Enables search function with lunr.js,
  40. # Index is built on fly, therefore it might slowdown your website.
  41. BookSearch = true