Skip to content

Problem with conditional #8380

Discussion options

You must be logged in to vote

Use single braces inside tags...

    {{ clients }}
    {{ partial:statamic-peak-tools::components/picture image="{ theme == 'onyx' ? 'logo_light' : 'logo_dark' }" }}
    {{ /clients }}

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by localghost8000
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants