Skip to content

Instantly share code, notes, and snippets.

@0xgdr
Created December 15, 2012 20:58
Show Gist options
  • Select an option

  • Save 0xgdr/4299125 to your computer and use it in GitHub Desktop.

Select an option

Save 0xgdr/4299125 to your computer and use it in GitHub Desktop.
{embed="_wrappers/_main"}
{exp:stash:set name='bodyId'}{segment_1}{/exp:stash:set}
{exp:stash:set name="mainContent"}
{exp:channel:entries channel="news_articles" disable="{gv_disableAll}"}
<article id="singlePost">
<h2>{title}</h2>
{if subtitle}
<h3>{subtitle}</h3>
{/if}
{exp:antenna url='{video}' max_width="469" max_height="264"}
{if embed_code}
{embed_code}
{/if}
{/exp:antenna}
{body}
</article><!-- END #singlePost -->
{/exp:channel:entries}
{sn_comments}
{/exp:stash:set}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment