{#if data.state.enabled} {#if announcements.error}
{:else}
{#if announcements.severity === "info"}
{:else}
{/if}
{announcements.author} -
{dayjs .unix(announcements.created) .format("DD/MM/YYYY HH:mm")}
{announcements.title}
{#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}