Created
February 22, 2019 16:14
-
-
Save simistern/12cd9f343720b1f040f9d74572c746bf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template name="post"> | |
<div class="list-group-item post" data-id="{{id}}"> | |
<div class="row-picture"> | |
{{#if thumbnail}} | |
<img class="icon shadow-z-1" src="{{thumbnail}}" alt="icon"> | |
{{else}} | |
<i class="mdi-editor-insert-drive-file icon shadow-z-1"></i> | |
{{/if}} | |
<br class="clear" /> | |
</div> | |
<div class="row-content"> | |
<p class="list-group-item-text"><a href="{{url}}" target="_blank">{{title}}</a></p> | |
<p><a href="http://reddit.com{{permalink}}" target="_blank" class="comment-link">Comments <span class="comment-count">({{comment_count}})</span></a></p> | |
{{#if thumbnail}} | |
<p class="image-preview-holder"> | |
<img class="image-preview" src="{{url}}"/> | |
</p> | |
{{/if}} | |
</div> | |
</div> | |
<div class="list-group-separator"></div> | |
</template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment