Post support and default template

This commit is contained in:
2020-06-14 18:41:28 -05:00
commit 3959a82b74
5 changed files with 165 additions and 0 deletions

13
index.hbs Normal file
View File

@@ -0,0 +1,13 @@
{{!< default}}
<main>
{{#foreach posts}}
<div class="flex align-center justify-between my-5">
<a href="{{url}}" class="font-semibold hover:text-blue-600">{{title}}</a>
<time class="text-gray-600 text-sm" datetime="{{date format='YYYY-MM-DD'}}">
{{date}}
</time>
</div>
{{/foreach}}
</main>
{{pagination}}