๐Ÿซ• Common Content

Shared content and how that all works

This is a Hugo module called common-content. Itโ€™s filled with headless content blocks. You can mount it into your site by adding it to your siteโ€™s config.toml file:

  [[module.imports]]
    path = "github.com/CodeYourFuture/curriculum/common-content"
    [[module.imports.mounts]]
      source = "en"
      target = "content"

All the content blocks are now available in your own siteโ€™s content directory. You can use anything here to compose curriculum modules. This will work even if you donโ€™t use the Common theme.