4

I have this:

{% include "partials/includes/page-header" with { 'title' : '{{ entry.heading }}' } %}

But it seems that nothing I do will actually pass {{ entry.heading }} as 'title' in the include.

Brad Bell
  • 67,440
  • 6
  • 73
  • 143
Steve Adams
  • 1,671
  • 2
  • 15
  • 27

1 Answers1

11

You'll never need to put Twig tags within other Twig tags... Try it like this:

{% include "partials/includes/page-header" with { 'title' : entry.heading } %}
Lindsey D
  • 23,974
  • 5
  • 53
  • 110