apps/grav/

Grav is a flat file CMS that uses Twig as a template engine. Learn more here.

Grav integration of design system Twig files

With the inclusion of the Grav plugin, twig-namespaces, Grav Twig templates in templates/ can {% include %}, {% extends %}, and {% embed %} the Twig patterns within source/_patterns/. Similar to Drupal above, including these patterns is done as follows:

{% include "@organisms/path/to/file.twig" with {
  title: label,
  imageUrl: field_name.raw.path,
  largeCTA: true,
} %}

Configuration for Grav and additional docs can found at apps/grav/README.md.