πŸ«• 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.