Rivet - respect hide_sidebar flag

Created on 25 July 2024, 4 months ago
Updated 8 August 2024, 3 months ago

Problem/Motivation

We refactored how template suggestions for page--no-sidebar.html.twig and page--has-sidebar.html.twig worked in the Rivet theme.

This had a knock-on effect that any nodes that have the field_hide_sidebar boolean field toggled to "ON" still show the sidebar.

Proposed resolution

Update rivet_theme_suggestions_page_alter() to take into account the value of field_hide_sidebar which may be present on any entity type.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇪🇨Ecuador jwilson3

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024