Skip to content

Instantly share code, notes, and snippets.

View splagemann's full-sized avatar
👋
Hi

Sebastian splagemann

👋
Hi
View GitHub Profile
@splagemann
splagemann / include_when.twig
Last active March 9, 2016 18:29 — forked from karlhorky/include_when.twig
Demo of potential include_when Twig tag
{% include_when {
'config.azubiTabs': 'azubi-tabs.twig'
} %}
{% include_when {
'config.hasCustomFooter': 'layouts/#{locale()}/footer.twig',
default : 'layouts/footer.twig'
} %}