mirror of
https://codeberg.org/pluja/kycnot.me
synced 2025-01-08 21:57:58 -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" />
|
<line x1="12" y1="8" x2="12.01" y2="8" />
|
||||||
<polyline points="11 12 12 12 12 16 13 16" />
|
<polyline points="11 12 12 12 12 16 13 16" />
|
||||||
</svg>
|
</svg>
|
||||||
|
|
||||||
|
{{if .Announcement}}
|
||||||
<div class="flex flex-col justify-center items-center text-center">
|
<div class="flex flex-col justify-center items-center text-center">
|
||||||
<span class="font-bold">{{.Announcement.Title}}</span>
|
<span class="font-bold">{{.Announcement.Title}}</span>
|
||||||
<span class="text-xs lowercase">{{.Announcement.Body}}</span>
|
<span class="text-xs lowercase">{{.Announcement.Body}}</span>
|
||||||
</div>
|
</div>
|
||||||
|
{{end}}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user