Dust if condition
问题 I'm having trouble with a dust if condition. I have a partial that points to 2 different dust templates depending on the Country code {>"receipt/merchantInfo/merchantInfo_{countryCode}"/} I'm trying to make an if else condition that will figure out if the {countryCode} is US. Example: {@if cond="'{countryCode}' == 'US'"} <p>is country code US</p> {:else} <p>is NOT country code US</p> {/if} This isn't working. Anyone have an idea where I went wrong with this? 回答1: The @if helper has been