Skip to content

Instantly share code, notes, and snippets.

@jayfresh
Created February 6, 2014 15:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jayfresh/8846985 to your computer and use it in GitHub Desktop.
Save jayfresh/8846985 to your computer and use it in GitHub Desktop.
<tr class="<<view direction>>"><td><span class="call-title"><$view field="title"/> (<$view field="duration"/>m)</span></td><td><$list filter=[is[current]tags[]] template="$:/themes/pio-theme/TagTemplate" storyview="pop" itemClass="tw-tag-list-item"/></td></tr>
or
<tr class="<$view field='direction'/>"><td><span class="call-title"><$view field="title"/> (<$view field="duration"/>m)</span></td><td><$list filter=[is[current]tags[]] template="$:/themes/pio-theme/TagTemplate" storyview="pop" itemClass="tw-tag-list-item"/></td></tr>
@Jermolene
Copy link

\define classMacro()
$(theClass)$
\end
<$set name="theClass" value={{!!direction}}><tr class=<<classMacro>>> (blah) </tr></$set>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment