Skip to content

Commit

Permalink
homepage: limit posts to 3
Browse files Browse the repository at this point in the history
Too much whitespace
  • Loading branch information
makinbacon21 committed Apr 15, 2024
1 parent 52d3395 commit cee9077
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion views/dashboard.pug
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
h2.mb-4 News and Updates
- var i = 0
each post in posts
if i<4
if i<3
.card.w-100.mb-3.shadow-sm
.card-body
h5.card-title= post.data.title
Expand Down
2 changes: 1 addition & 1 deletion views/homepage-splash.pug
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
h2.mb-4 News and Updates
- var i = 0
each post in posts
if i<4
if i<3
.card.w-100.mb-3.shadow-sm
.card-body
h5.card-title= post.data.title
Expand Down

0 comments on commit cee9077

Please sign in to comment.