31 lines
580 B
Handlebars
31 lines
580 B
Handlebars
|
|
<div class="article">
|
|
<div class="navigation">
|
|
{{#if previous}}
|
|
<a href="{{previous.paths.base}}">
|
|
<span style="float: left">
|
|
<span class="arrow">⟵</span>
|
|
{{previous.title}}
|
|
<span class="arrow">—</span>
|
|
</span>
|
|
</a>
|
|
{{/if}}
|
|
{{#if next}}
|
|
<a href="{{next.paths.base}}">
|
|
<span style="float: right">
|
|
<span class="arrow">—</span>
|
|
{{next.title}}
|
|
<span class="arrow">⟶</span>
|
|
</span>
|
|
</a>
|
|
{{/if}}
|
|
</div>
|
|
<h1 class="title">{{title}}</h1>
|
|
<h2 class="byline">
|
|
{{formatDate date}}
|
|
{{#if author}}
|
|
by {{{author}}}
|
|
{{/if}}
|
|
</h2>
|
|
{{{contents}}}
|
|
</div> |