Skip to content
This repository has been archived by the owner on Feb 17, 2021. It is now read-only.

Commit

Permalink
Add slug to id of latest guff div
Browse files Browse the repository at this point in the history
  • Loading branch information
Sumeet Adur committed Dec 16, 2015
1 parent 37d584f commit 5c27525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/main-page.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</div>

{{#each homewords}}
<div class="{{#if @first}}latest{{else}}random{{/if}}-guff">
<div class="{{#if @first}}latest{{else}}random{{/if}}-guff" {{#if @first}}id="{{slug}}"{{/if}}>
<div class="paraHeads">{{#if @first}}<span class="label">Latest guff</span><span class="timestamp">added on {{formatteddate}}</span>{{else}}<span class="label">Random guff</span>{{/if}}</div>
<a class="word" href="{{@key}}/">{{word}}&raquo;</a>
<div class="details">
Expand Down

0 comments on commit 5c27525

Please sign in to comment.