feat: a more adaptive way to show the title & remove redundant path

This commit is contained in:
grassblock 2025-05-18 12:56:33 +08:00
parent d33b2be49e
commit ba9a44a944
6 changed files with 9 additions and 8 deletions

View file

@ -6,7 +6,7 @@ const posts = await getCollection('posts');
posts.sort((a, b) => new Date(b.data.pubDate).getTime() - new Date(a.data.pubDate).getTime());
---
<Layout title="Blog | Terminal Blog" description="List all files and folders in the directory.">
<Layout title="Blog Posts" description="List all files and folders in the directory.">
<h1 class="title">~/blog</h1>
<div class="content">