Accessing content variables through the page variable 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.??? }})
Per the docs on the core page.html.twig:

 \* Page content (in order of occurrence in the default page.html.twig):
 \* - messages: Status and error messages. Should be displayed prominently.
 \* - node: Fully loaded node, if there is an automatically-loaded node
 \*   associated with the page and the node ID is the second argument in the
 \*   page's path (e.g. node/12345 and node/12345/revisions, but not
 \*   comment/reply/12345).


The node variable is available in page.html.twig. If you need to access one its fields you can use {{ node.field_myfield.value }} to print it out.