Finalizing template for deployment on chrg.nl

This commit is contained in:
2017-07-17 17:01:40 +02:00
parent cf23e30989
commit d650943618
12 changed files with 980 additions and 55 deletions

3
partials/header.hbs Normal file
View File

@ -0,0 +1,3 @@
<header class="top-header">
<div class="container"><a href="{{@blog.url}}">{{@blog.title}}</a></div>
</header>

View File

@ -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
View File

@ -0,0 +1,9 @@
<nav class="pagination" role="navigation">
{{#if prev}}
<a class="newer-posts" href="{{page_url prev}}#content">&larr; 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 &rarr;</a>
{{/if}}
</nav>