Skip to content

Instantly share code, notes, and snippets.

@webflo
Created September 8, 2016 16:02
Show Gist options
  • Save webflo/7e5139e1ab12e0f7bed9923b23ec830f to your computer and use it in GitHub Desktop.
Save webflo/7e5139e1ab12e0f7bed9923b23ec830f to your computer and use it in GitHub Desktop.
{% set title = {
'#type': 'inline_template',
'#template': '{{ title }} <strong>foo</strong>',
'#context': {
'title': item.title
}
}
%}
{{ link(title, "foobar", null) }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment