RevTree
#61

Using block content

Pages and Layouts · Practitioner

What is this skill?

Using block content involves advanced use of Nunjucks layout blocks to create custom page structures, such as adding content to the page head, before the main content, or in the footer.

Why is it important?

  • Full control – Access any part of the page template
  • Custom layouts – Create non-standard page structures when needed
  • Script injection – Add page-specific JavaScript or CSS
  • Advanced patterns – Implement complex design requirements

Where to learn more