Post date & tags

This commit is contained in:
Thomas
2021-03-29 16:59:17 +02:00
parent b0ee8e2c23
commit a315f5eb24
24 changed files with 70 additions and 28 deletions

View File

@@ -1,7 +1,12 @@
<div class="contentContainer">
<article>
<h1>{{post.title}}</h1>
<h5>{{post.date}}</h5>
<h5>
{{#each post.tags}}
<span>{{this}}</span>
{{/each}}
</h5>
<h5>{{post.date_printable}}</h5>
<hr/>
{{{post.body}}}
<hr/>

View File

@@ -7,7 +7,7 @@
{{#each section.posts}}
<a href="{{this.url}}">
<span class="postTitle">{{this.title}}</span>
<span class="postDate">{{this.date}}</span>
<span class="postDate">{{this.date_printable}}</span>
</a>
{{/each}}
</nav>