Skip to content

Instantly share code, notes, and snippets.

@matthisk
Created December 14, 2015 10:36
Show Gist options
  • Save matthisk/10599057281391e9cfad to your computer and use it in GitHub Desktop.
Save matthisk/10599057281391e9cfad to your computer and use it in GitHub Desktop.

Revisions

  1. matthisk created this gist Dec 14, 2015.
    19 changes: 19 additions & 0 deletions activity.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    <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">&mdash;{{place}}</span>{{/if}}
    </span>
    </span>

    <div class="bg-image" style="background-image: url('{{image}}');"></div>

    </a>
    {{/with}}
    </template>