{#if data.state.enabled} {#if !announcements.error}
{#if announcements.severity === "info"}
Info
{:else}
Attention
{/if}
{announcements.author}
{dayjs .unix(announcements.created) .format("DD/MM/YYYY HH:mm")}
{@html data.content}
{#if announcements.link}
Read more...
{/if}
{#if announcements.severity === "info"} {:else if announcements.severity === "low"} {:else if announcements.severity === "medium"} {:else if announcements.severity === "high"} {/if} {/if} {:else}
Announcements are currently disabled.
{/if}