Implementing our Before Content region

The fourth item we will need to address is replacing the static content in our Before Content region. Referring back to the mockup, we have two blocks of content that will require us to follow these steps to implement.

  1. First, we will create the Our Services block and Our Features block and assign it to the Before Content region.
  2. Finally, we will refactor the markup and print the Before Content region using Twig variables.

Creating our Services block

Creating blocks of content is fairly simple and we should already be comfortable with the process.

We will start by navigating to the Block layout page at /admin/structure/block and following these steps:

  1. Click on the Place block button in the Before Content region. ...

Get Drupal 8: Enterprise Web Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.