Skip to content

Commit 9b833f6

Browse files
committed
Enable specifying an author for news items
Also add paragraph spacing to body of the news item.
1 parent 925bcca commit 9b833f6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

templates/news/tile.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,12 @@ <h4 class="text-2xl-4xl font-normal text-right"><small>$category$</small></h4>
1313
<div class="relative bg-white">
1414
<div class="py-4 px-6 sm:px-12">
1515
<h2 class="text-2xl-4xl font-normal">$title$</h2>
16-
<p class="mt-8">$body$</p>
16+
$if(author)$
17+
<div class="text-xl mt-2">
18+
$author$
19+
</div>
20+
$endif$
21+
<div class="mt-8 space-y-4">$body$</div>
1722
</div>
1823
</div>
1924
</div>

0 commit comments

Comments
 (0)