Skip to content

Commit

Permalink
added breadcrumb partial
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-brown committed Apr 7, 2016
1 parent 7bee2ad commit ae0de07
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions page.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<article class="{{post_class}}">

<header class="post-header">
{{> "breadcrumb"}}
<h1 class="post-title">{{title}}</h1>
</header>

Expand Down
5 changes: 5 additions & 0 deletions partials/breadcrumb.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<ul class="post-header__breadcrumb">
<li><a href="/" title="blog homepage">Home</a></li>
<li>-</li>
<li>{{title}}</li>
</ul>
6 changes: 1 addition & 5 deletions post.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@
<article class="{{post_class}}">

<header class="post-header">
<ul class="post-header__breadcrumb">
<li><a href="/" title="blog homepage">Home</a></li>
<li>-</li>
<li>{{title}}</li>
</ul>
{{> "breadcrumb"}}
<h1 class="post-title">{{title}}</h1>
<section class="post-meta">
<time class="post-date" datetime="{{date format='YYYY-MM-DD'}}">{{date format="DD MMMM YYYY"}}</time> {{tags prefix=" on "}}
Expand Down

0 comments on commit ae0de07

Please sign in to comment.