{#await promise}
{:then}
{#if announcements.severity === "info"}
{:else}
{/if}
{dayjs .unix(announcements.created) .format("DD/MM/YYYY HH:mm")}
{announcements.title}
Read more...
{:catch}
{/await}
{#if announcements.severity === "info"} {:else if announcements.severity === "low"} {:else if announcements.severity === "medium"} {:else if announcements.severity === "high"} {/if}