Skip to content

Instantly share code, notes, and snippets.

@lamalex
Created May 19, 2013 17:07
Show Gist options
  • Save lamalex/5608284 to your computer and use it in GitHub Desktop.
Save lamalex/5608284 to your computer and use it in GitHub Desktop.
<template name="relicItem">
<div class="post">
<div class="post-content">
<a href="{{relicPagePath this}}">
{{#isYoutubeIframe type}}
{{resource}}
{{/isYoutubeIframe}}
{{#isImage type}}
<img src="{{resource}}" />
{{/isImage}}
</a><br/>
<span>Submitted by {{submitter}} on {{datestamp}}</span>
</div>
</div>
</template>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment