thuliteio / create-thulite

Official CLI for scaffolding a new Thulite project
Other
0 stars 1 forks source link

Tidy up module config #22

Closed salim-b closed 1 year ago

salim-b commented 1 year ago

Summary

Order Hugo module config by component folder (archetypes, assets, content etc.) which makes it easier to reason about. For some instructive notes on how merging strategy differs between component folders, see this post by the Hugo lead dev.

Note that I removed the following mounts rule from template-doks since I think it's redundant with the default rule we explicitly include:

# removed
[[mounts]]
  source = "assets/svgs"
  target = "assets/svgs"

# default, included
[[mounts]]
  source = "assets"
  target = "assets"

Motivation

Maintainability.

Checks