Skip to content

Commit

Permalink
Merge pull request #527 from hpehl/fix-index-author
Browse files Browse the repository at this point in the history
Fix missing authros in news section on home page
  • Loading branch information
bstansberry authored Jan 29, 2024
2 parents d1abb62 + f8de995 commit 772efc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/news-list-blocks.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ <h3>Latest News</h3>
</div>
{% for post in site.posts %}
{% assign author = "" | split: ',' %}
{% for a in page.author %}
{% for a in post.author %}
{% assign author = author | push: site.data.authors[a].name %}
{% endfor %}
{% if forloop.index <= 8 %}
Expand Down

0 comments on commit 772efc4

Please sign in to comment.