Twig template for two different instances of the system branding block

by Patrick Kenny   Last Updated August 10, 2018 10:07 AM - source

On the block layout page, I added the "System Branding" block twice, once for normal use (all nodes except content type landing page) and once for landing page use (all nodes of content type landing page).

I themed the block using the twig template block--system-branding-block.html.twig, but this modifies both blocks.

Is there a way to get more specific and create a twig template for each block, or should I re-create the landing page block some other way so that I can use a different template?

Tags : 8 blocks

Related Questions

Create main page content block

Updated April 04, 2015 18:03 PM

Blocks is not showing up

Updated March 29, 2015 06:02 AM