Skip to content

Instantly share code, notes, and snippets.

@kepek
Created March 26, 2014 16:10
Show Gist options
  • Save kepek/9786924 to your computer and use it in GitHub Desktop.
Save kepek/9786924 to your computer and use it in GitHub Desktop.
Include with Variable in Twig
{% include var|default('index') ~ '_foo.html' %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment