投稿一覧にタイトルを追加

This commit is contained in:
moris 2025-03-26 11:53:13 +09:00
parent 9c1bc7db7c
commit 63efa7136a

View file

@ -13,6 +13,7 @@
<div class='contain'>
<h1 style="margin-top:0; font-weight:500;">Posts <span style="font-size:1.6rem; opacity:0.7">#page{data.pageNo}</span></h1>
<div class="posts">
{#each data.posts as post}
<article class:unpublished={!post.metadata.published}>
@ -38,7 +39,9 @@
<style>
.contain {
margin: 3vw;
margin-inline: auto;
padding: 3vw;
max-width: 1599px;
}
.posts {
@ -47,8 +50,6 @@
grid-template-rows: max-content;
gap: 25px;
justify-content: center;
margin-inline: auto;
max-width: 1599px;
}
article {
border-radius: 8px;