style: add header to blog cards
This commit is contained in:
parent
a9c4b3a144
commit
5283985026
@ -10,12 +10,8 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script id="blog-post-template" type="text/x-handlebars-template">
|
<script id="blog-post-template" type="text/x-handlebars-template">
|
||||||
<div class="card-body">
|
<div class="card-header">
|
||||||
<h2>
|
<span class="text-muted">
|
||||||
<a href="{{post.url}}"> {{post.title}}</a>
|
|
||||||
</h2>
|
|
||||||
|
|
||||||
<p class="text-muted">
|
|
||||||
<img class="blog-author-icon" src="{{author.avatar}}" alt="{{author.name}}">
|
<img class="blog-author-icon" src="{{author.avatar}}" alt="{{author.name}}">
|
||||||
<span>{{author.name}}<span>
|
<span>{{author.name}}<span>
|
||||||
<span> • </span>
|
<span> • </span>
|
||||||
@ -26,7 +22,12 @@
|
|||||||
Loading comment count …
|
Loading comment count …
|
||||||
</a>
|
</a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</p>
|
</span>
|
||||||
|
</div>
|
||||||
|
<div class="card-body">
|
||||||
|
<h2>
|
||||||
|
<a href="{{post.url}}"> {{post.title}}</a>
|
||||||
|
</h2>
|
||||||
|
|
||||||
<p>{{{post.excerpt}}}</p>
|
<p>{{{post.excerpt}}}</p>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user