Hugo Folders

Source folders

  • archetypes - templates
  • content
  • data - structured content for Hugo to consume
  • layouts - theme overrides
  • themes - Hugo Themes
  • config
  • static - content like fonts or PDFs

Other folders & files

  • assets - images, js, css
  • public - default output
  • resources - internal cache, include in version control
  • go.mod and go.sum - internal files, include in version control
  • .github and netlify.toml - associate website with CI services

References