Themes

Description

The "themes" folder holds other projects that your project will inherit assets, content, and layout from. You can add, remove, enable disable, and update themes through the CLI. 

Every Plenti website can be used as a theme - in fact there is nothing special you would do to your site to make it a "theme." Simply nest any Plenti site (if you have permission) in the "themes" folder of your project and specify its folder name as the theme key in plenti.json

Omitting assets, content, or layout from a theme

By default you inherit everything from the parent theme, but you can choose not to inherit particular aspects if you'd like. For example, you may want to use components from the "layouts" folder, but don't want to use any of the content or images. You could do that in plenti.json like the following example (uses this website as the theme):
 "theme": plenti.co,
"theme_config": {
  "plenti.co": {
    "url": "git@github.com:plentico/plenti.co",
    "commit": "0eff8c7",
    "exclude": ["content", "assets"]
}