Skip to content

Commit 94dbf7f

Browse files
authored
Merge pull request #793 from eliotwrobson/add_name
Add author name to blog post preview cards
2 parents 35d9b1c + 4454ebd commit 94dbf7f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

_includes/archive-cards.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ <h3 class="card-title">{{ post.title | markdownify | strip_html }}</h3>
1717
</div>
1818
</div>
1919
<div class="card-excerpt">
20+
{% if post.author %}
21+
<p class="card-author"><strong>{{ post.author }}</strong></p>
22+
{% endif %}
2023
<p>{{ post.excerpt }}</p>
2124
</div>
2225
</div>

0 commit comments

Comments
 (0)