Created
December 14, 2015 10:36
-
-
Save matthisk/10599057281391e9cfad 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="activity"> | |
{{#with object}} | |
<a href="{{path}}" class="item-activity"> | |
<span class="attribution"> | |
<span class="avatar"> | |
<img src="{{userAvatar}}" class="image-avatar"> | |
</span> | |
<span class="meta"> | |
<span class="author">{{firstName}}</span> made <span class="recipe">{{recipeTitle}}</span>: {{text}} | |
{{#if place}}<span class="location">—{{place}}</span>{{/if}} | |
</span> | |
</span> | |
<div class="bg-image" style="background-image: url('{{image}}');"></div> | |
</a> | |
{{/with}} | |
</template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment