{#await promise}
{:then}
{#if (announcements.severity === "info") }
{:else}
{/if}
{announcements.created}
{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}