投稿一覧のグリッドをarticle要素に変更
This commit is contained in:
parent
6203013656
commit
707bf73ef5
1 changed files with 2 additions and 2 deletions
|
@ -15,11 +15,11 @@
|
|||
<div class='contain'>
|
||||
<div class="posts">
|
||||
{#each data.posts as post}
|
||||
<div class="post" class:unpublished={!post.metadata.published}>
|
||||
<article class="post" class:unpublished={!post.metadata.published}>
|
||||
<a style='text-decoration: none;' href="../post/{post.postId}" tabindex="0">
|
||||
<Postgrid id={post.postId} {...post.metadata}></Postgrid>
|
||||
</a>
|
||||
</div>
|
||||
</article>
|
||||
{/each}
|
||||
{#if data.posts.length%4}
|
||||
{#each Array(4-data.posts.length%4) as i}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue