Here's the issue:

I have a custom content type for the contact page. Twig template: page--node--9.html.twig. When I add blocks to this template, e.g. {{ page.contact-first }}, it breaks. How can I display blocks on it?

1 Answer 1


The solution was simple: the naming of the regions need to use underscores, not dashes.

In theme.info.yml

  contact_first: 'Contact (First column)'

In the twig template:

{{ page.contact_first }}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.