make announcements link optional

This commit is contained in:
Akis 2022-09-13 16:23:35 +03:00
parent 1805ab61d1
commit ef042d5e7e
Signed by untrusted user: akis
GPG Key ID: 267BF5C6677944ED

View File

@ -63,9 +63,11 @@
<h1>{announcements.title}</h1>
</div>
<div class="read-more">
<a href={announcements.link}>Read more...</a>
</div>
{#if announcements.link}
<div class="read-more">
<a href={announcements.link}>Read more...</a>
</div>
{/if}
</div>
</div>
{:catch}