replace data with article
This commit is contained in:
@@ -18,8 +18,8 @@
|
||||
<hr />
|
||||
|
||||
<section class="project_list">
|
||||
{#each data.data as { title, description, path, date, tags, image }}
|
||||
<Card data={{ title, description, path, date, tags, image }} />
|
||||
{#each data.data as article}
|
||||
<Card { article } />
|
||||
{/each}
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
<hr />
|
||||
|
||||
<section class="card_list">
|
||||
{#each data.data as { title, description, path, date, tags }}
|
||||
<Card data={{ title, description, path, date, tags }} />
|
||||
{#each data.data as article}
|
||||
<Card { article } />
|
||||
{/each}
|
||||
</section>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user