Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: fix anchors phase 2

...

The configuration must reside in the themes folder of the module in /<module-name>/themes/<theme-name> . This can be done in YAML or JCR.

...

The old and (warning) deprecated  location for themes is site/config/<theme-name> . Themes in this location could only be configured in the JCR.   Themes configured in the old location should be moved to the new location.

Example

travel-demo-theme in travel-demo/themes/travel-demo-theme.yaml.

...

travel-demo-theme

cssFiles

Optional

References CSS files.

jsFiles

Optional

References JavaScript files.

imaging

Optional

Defines image Image variations a.k.a renditions.


CSS files

...

theme

required

Theme node.

name

required

The value of this property must match the name of the theme configured in /modules/site/config/theme.

...