mirror of
https://codeberg.org/pluja/kycnot.me
synced 2025-01-07 13:17:57 -05:00
don't break when there's no announcement
This commit is contained in:
parent
19be5705f7
commit
d706c68499
@ -8,10 +8,13 @@
|
||||
<line x1="12" y1="8" x2="12.01" y2="8" />
|
||||
<polyline points="11 12 12 12 12 16 13 16" />
|
||||
</svg>
|
||||
|
||||
{{if .Announcement}}
|
||||
<div class="flex flex-col justify-center items-center text-center">
|
||||
<span class="font-bold">{{.Announcement.Title}}</span>
|
||||
<span class="text-xs lowercase">{{.Announcement.Body}}</span>
|
||||
</div>
|
||||
{{end}}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user