Skip to content

Instantly share code, notes, and snippets.

@thexmanxyz
Created May 26, 2020 11:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thexmanxyz/0be07a834f0f7b917bef1062dd27294a to your computer and use it in GitHub Desktop.
Save thexmanxyz/0be07a834f0f7b917bef1062dd27294a to your computer and use it in GitHub Desktop.
Explore Gantry5 configuration in TWIG
{# retrieve configuration #}
{{ dump(gantry.config) }}
{# retrieve styles configuration #}
{{ dump(gantry.config.styles) }}
{# retrieve breakpoint configuration #}
{{ dump(gantry.config.styles.breakpoints) }}
{# you can also obtain particle configurations via gantry.particles #}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment