Skip to content

govukRebrand global not being honored by header and footer macros #95

@jwlademann

Description

@jwlademann

The govukRebrand global only seems to be partially working. It's getting picked up by the main template and setting the colour scheme, but the footer and header don't seem to acknowledge it properly, so I'm having to set "rebrand" to true for those components in addition to govukRebrand.

I believe these line aren't working as intended:

{%- set _rebrand = params.rebrand | default(govukRebrand() if govukRebrand and govukRebrand is callable else govukRebrand) -%}

{%- set _rebrand = params.rebrand | default(govukRebrand() if govukRebrand and govukRebrand is callable else govukRebrand) -%}

Unless I'm missing something, or this is intentional?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions