mirror of
https://github.com/ProjectSegfault/website.git
synced 2024-11-30 02:32:51 +05:30
Merge pull request #80 from ProjectSegfault/optional-link-announcements
make announcements link optional
This commit is contained in:
commit
d88e7180a2
@ -63,9 +63,11 @@
|
|||||||
<h1>{announcements.title}</h1>
|
<h1>{announcements.title}</h1>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{#if announcements.link}
|
||||||
<div class="read-more">
|
<div class="read-more">
|
||||||
<a href={announcements.link}>Read more...</a>
|
<a href={announcements.link}>Read more...</a>
|
||||||
</div>
|
</div>
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{:catch}
|
{:catch}
|
||||||
|
Loading…
Reference in New Issue
Block a user