Skip to content

Instantly share code, notes, and snippets.

View BenParizek's full-sized avatar

Ben Parizek BenParizek

View GitHub Profile
@low
low / gist:1391783
Created November 24, 2011 16:49
Simple EE conditionals turning advanced -- an example
// This will execute the exp:tag if first segment is empty
{if segment_1 != ''}
{exp:class:method}
{if var == "foo"}
Lorem
{if:else}
Ipsum
{/if}
{/exp:class:method}