Skip to content

Instantly share code, notes, and snippets.

@matthisk
Created December 14, 2015 13:38
Show Gist options
  • Select an option

  • Save matthisk/743085497ffc17fd2f97 to your computer and use it in GitHub Desktop.

Select an option

Save matthisk/743085497ffc17fd2f97 to your computer and use it in GitHub Desktop.

Revisions

  1. matthisk created this gist Dec 14, 2015.
    17 changes: 17 additions & 0 deletions activity.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    <template name="cook">
    <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>
    </template>