Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
andyluss committed Jul 11, 2024
1 parent a4cdb6e commit 09fd041
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions src/layouts/IndexLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,6 @@ const { posts, tags, levels } = await getAll(collection, tag, level);
color: rgb(var(--gray));
font-size: x-small;
}
.tag {
margin: 0;
color: rgb(var(--gray));
font-size: x-small;
}
.posts ul li a:hover .title {
color: rgb(var(--accent));
}
Expand Down Expand Up @@ -156,11 +151,14 @@ const { posts, tags, levels } = await getAll(collection, tag, level);
<p class="date">
<FormattedDate date={post.data.pubDate} />
</p>
<span class="text-xs">{"⭐️".repeat(post.data.level)}</span>
</a>

<div class="m-0 text-xs text-blue-500 absolute bottom-0">
<span>{"⭐️".repeat(post.data.level)}</span>
{post.data.tags.length > 0 && (
<span class="tag">🏷 {post.data.tags.join(", ")}</span>
<span>🏷 {post.data.tags.join(", ")}</span>
)}
</a>
</div>
<div class="text-gray-400 text-xs absolute right-1 bottom-0">
{posts.length - index}
</div>
Expand Down

0 comments on commit 09fd041

Please sign in to comment.