Skip to content

Commit

Permalink
Add latest blog posts to home page
Browse files Browse the repository at this point in the history
  • Loading branch information
helenclx committed Jul 21, 2024
1 parent 13e0ff4 commit 950c970
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ metadata:
<div class="home--container">
{% include "main/profile.njk" %}
{% include "main/skills.njk" %}
<section class="section--home grid-center">
<h2 class="heading--home">Latest Blog Posts</h2>
{% set postList = collections.posts | reverse | limit(3) %}
{% include "blog/postslist.njk" %}
</section>
{% include "main/project-grid.njk" %}
{% include "main/webmembership.njk" %}
{% include "main/badges.njk" %}
Expand Down

0 comments on commit 950c970

Please sign in to comment.