Skip to content

Commit

Permalink
Remove top and bottom borders from news list.
Browse files Browse the repository at this point in the history
  • Loading branch information
rebeccacremona committed Sep 18, 2024
1 parent 4e8c5a3 commit 9899fc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/_layouts/project.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ <h2 class="h2">Why does {{page.title}} exist?</h2>
<h2 class="h2">News</h2>
<div class="flex flex-col items-start w-full">
{% for article in news %}
<div class="body-text w-full py-32 border-t-1 border-black last-of-type:border-b-1 flex grid grid-cols-12 gap-24 relative">
<div class="body-text w-full py-32 {% unless forloop.first %}border-t-1{% endunless %} flex grid grid-cols-12 gap-24 relative">
<!-- format date as 02.12.24 -->
<span class="label col-span-3">
<span class="align-middle">{{ article.date | date: "%m/%d/%y" }}</span>
Expand Down

0 comments on commit 9899fc6

Please sign in to comment.