Skip to content

Instantly share code, notes, and snippets.

@IcarusFW
Created August 21, 2018 10:56
Show Gist options
  • Save IcarusFW/8603bb92e3380878416dc797e27591e5 to your computer and use it in GitHub Desktop.
Save IcarusFW/8603bb92e3380878416dc797e27591e5 to your computer and use it in GitHub Desktop.
A snippet to output a chunk of markup for an image dependent on whether that image is inserted into the markup. (TerminalFour)
<t4 type="content" name="Text Panel Breakout Image" output="selective-output" process-format="true" modifiers="" format="<div class='image-container'><div class='panel-img' style='background-image: url(<t4 type=&quot;content&quot; name=&quot;Text Panel Breakout Image&quot; output=&quot;normal&quot; modifiers=&quot;&quot; formatter=&quot;path/*&quot; />);'></div></div>" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment