style: add header to blog cards
This commit is contained in:
parent
a9c4b3a144
commit
5283985026
@ -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> • </span>
|
||||
@ -26,7 +22,12 @@
|
||||
Loading comment count …
|
||||
</a>
|
||||
{{/if}}
|
||||
</p>
|
||||
</span>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<h2>
|
||||
<a href="{{post.url}}"> {{post.title}}</a>
|
||||
</h2>
|
||||
|
||||
<p>{{{post.excerpt}}}</p>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user