Skip to content

%ifdef problems after upgrade to 1.6 #4479

Answered by sampsyo
jsuttinger asked this question in Q&A
Discussion options

You must be logged in to vote

Hi there! This is due to #3982, which fixed a disconnect between %ifdef's intended behavior (and documentation) w/r/t its implementation.

For this use case—i.e., fixed fields that are present on every item—the right thing to use is %if rather than %ifdef. Try %if{$label,($label) }.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jsuttinger
Comment options

Answer selected by jsuttinger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants