I have a template that extends the page.html.twig base template. I wish to render a field variable from the node as a heading in other parts of the page template.
I've tried {{dump(page.content)}}
but the variable does not seem to be there, it is already rendered into HTML.
What's the syntax - if it exists - for accessing a node variable from the page.content
variable?
For example, at the node level, I can access {{ content.field_heading }}
.
At the page level, what can I use? ({{ page.content.??? }}
)