mirror of
https://github.com/LukeHagar/sveltesociety.dev.git
synced 2025-12-06 12:47:44 +00:00
Card.svelte: #if tags before #each
This commit is contained in:
@@ -42,11 +42,13 @@
|
||||
/>{/if}
|
||||
</h3>
|
||||
<p class="flex-grow">{description}</p>
|
||||
<div class="card__tags">
|
||||
{#each tags as tag}
|
||||
<Tag title={tag} variant="blue" />
|
||||
{/each}
|
||||
</div>
|
||||
{#if tags}
|
||||
<div class="card__tags">
|
||||
{#each tags as tag}
|
||||
<Tag title={tag} variant="blue" />
|
||||
{/each}
|
||||
</div>
|
||||
{/if}
|
||||
{#if typeof stars !== 'undefined'}
|
||||
<div class="card__bottom">
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user