Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the is_front template flag using path.matcher service #280

Merged
merged 2 commits into from
Jan 30, 2024

Commits on Jan 27, 2024

  1. Add the is_front template flag using path.matcher service

    Fix #279
    
    Same method as page manager.
    This adds the is_front template flag to localgov alert banner for testing with twig.
    Will restore the default homepage class in the default template.
    andybroomfield committed Jan 27, 2024
    Configuration menu
    Copy the full SHA
    22808fc View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2024

  1. Add test for front page class

    Checks the extra front page class is displayed on the alert banner
    template when on the front page, and not when on other pages.
    andybroomfield committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    54d97af View commit details
    Browse the repository at this point in the history