forked from ProjectSegfault/website
make announcements link optional
This commit is contained in:
parent
1805ab61d1
commit
ef042d5e7e
@ -63,9 +63,11 @@
|
|||||||
<h1>{announcements.title}</h1>
|
<h1>{announcements.title}</h1>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="read-more">
|
{#if announcements.link}
|
||||||
<a href={announcements.link}>Read more...</a>
|
<div class="read-more">
|
||||||
</div>
|
<a href={announcements.link}>Read more...</a>
|
||||||
|
</div>
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{:catch}
|
{:catch}
|
||||||
|
Loading…
Reference in New Issue
Block a user