mirror of
https://github.com/ProjectSegfault/website.git
synced 2024-12-22 13:09:49 +05:30
make announcements link optional
This commit is contained in:
parent
1805ab61d1
commit
ef042d5e7e
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user