localgovdrupal / localgov_base

The base theme for LocalGov Drupal websites.
8 stars 15 forks source link

Adds a variable to let us print a token for replacement in the breadcrumb trail. #585

Closed rupertj closed 2 months ago

rupertj commented 2 months ago

Implements #584

markconroy commented 2 months ago

@rupertj do we need two {{ around the variable for ModernGov to use or just one {?

rupertj commented 2 months ago

It'll be one in the resulting output, but we're printing the value of a variable here, so it's two.

For the purposes of making Modern.Gov work, we'll pass in {breadcrumb} as the value of the var, but if any other reverse CMS thing wants to use it (Maybe Netcall?) they can pass in what they need instead.

markconroy commented 2 months ago

Sounds great, let's get this merged.