Skip to content

Layout files - workaround for non-existing settings #1406

Open
@jgsogo

Description

@jgsogo

Mention in the docs the workaround when a package doesn't define some settings. The idea is to use the settings.get_safe function:

{{ settings.get_safe("build_type")|default("value-if-not-build_type") }}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions