Finalizing template for deployment on chrg.nl
This commit is contained in:
3
partials/header.hbs
Normal file
3
partials/header.hbs
Normal file
@ -0,0 +1,3 @@
|
||||
<header class="top-header">
|
||||
<div class="container"><a href="{{@blog.url}}">{{@blog.title}}</a></div>
|
||||
</header>
|
@ -6,7 +6,6 @@
|
||||
{{!-- This is the post loop - each post will be output using this markup --}}
|
||||
{{#foreach posts}}
|
||||
<article class="{{post_class}}">
|
||||
<pre>{{image}}</pre>
|
||||
<header class="post-header">
|
||||
<h2 class="post-title"><a href="{{url}}">{{title}}</a></h2>
|
||||
</header>
|
||||
|
9
partials/pagination.hbs
Normal file
9
partials/pagination.hbs
Normal file
@ -0,0 +1,9 @@
|
||||
<nav class="pagination" role="navigation">
|
||||
{{#if prev}}
|
||||
<a class="newer-posts" href="{{page_url prev}}#content">← Newer Posts</a>
|
||||
{{/if}}
|
||||
<span class="page-number">Page {{page}} of {{pages}}</span>
|
||||
{{#if next}}
|
||||
<a class="older-posts" href="{{page_url next}}#content">Older Posts →</a>
|
||||
{{/if}}
|
||||
</nav>
|
Reference in New Issue
Block a user