Skip to content
This repository has been archived by the owner on May 12, 2019. It is now read-only.

Commit

Permalink
Tag view similar to index view
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Nov 20, 2015
1 parent 427d429 commit 3f2160c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 21 deletions.
14 changes: 2 additions & 12 deletions index.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{!< default}}

<h2 class="fun-line" style="text-align: center;">Writtings.</h2>
<h1 style="text-align: center;">Writtings.</h1>
<ol id="posts-list">
{{#foreach posts}}
<li>
Expand All @@ -10,15 +10,5 @@
</li>
{{/foreach}}
</ol>
{{pagination}}


{{!-- <a href="{{url}}" title="link to {{{title}}}">
<h2>{{{title}}}</h2>
<p class="post description">{{excerpt}}&hellip;</p>
</a>
<div class="post meta">
<time datetime="{{date format="DD MMM YYYY"}}">{{date format="DD MMM YYYY"}}</time>
<span class="post tags">{{tags prefix="on " separator=" "}}</span>
</div>
<hr class="divider post" /> --}}
{{pagination}}
15 changes: 6 additions & 9 deletions tag.hbs
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
{{!< default}}
<h1>Tag: {{tag.name}}</h1>
<ol class="posts">

<h1 style="text-align: center;">Tag: {{tag.name}}.</h1>
<ol id="posts-list">
{{#foreach posts}}
<li>
<a href="{{url}}" title="link to {{{title}}}"><h2>{{{title}}}</h2></a>
<p class="excerpt">{{excerpt}}&hellip;</p>
<div class="post meta">
<time datetime="{{date format="DD MMM YYYY"}}">{{date format="DD MMM YYYY"}}</time>
<span class="post tags">{{tags prefix="on " separator=" "}}</span>
</div>
<hr class="divider post" />
<time datetime="{{date format="DD MMM YYYY"}}">{{date format="DD MMM YYYY"}}</time>
<a href="{{url}}" title="link to {{{title}}}">{{title}}</a>
<span class="post tags">{{tags separator=" "}}</span>
</li>
{{/foreach}}
</ol>
Expand Down

0 comments on commit 3f2160c

Please sign in to comment.