style: add header to blog cards

This commit is contained in:
Oliver Booth 2023-09-23 22:09:26 +01:00
parent a9c4b3a144
commit 5283985026
Signed by: oliverbooth
GPG Key ID: E60B570D1B7557B5
1 changed files with 8 additions and 7 deletions

View File

@ -10,12 +10,8 @@
</div>
<script id="blog-post-template" type="text/x-handlebars-template">
<div class="card-body">
<h2>
<a href="{{post.url}}"> {{post.title}}</a>
</h2>
<p class="text-muted">
<div class="card-header">
<span class="text-muted">
<img class="blog-author-icon" src="{{author.avatar}}" alt="{{author.name}}">
<span>{{author.name}}<span>
<span> &bull; </span>
@ -26,7 +22,12 @@
Loading comment count &hellip;
</a>
{{/if}}
</p>
</span>
</div>
<div class="card-body">
<h2>
<a href="{{post.url}}"> {{post.title}}</a>
</h2>
<p>{{{post.excerpt}}}</p>