feat: more friendly meta tags

This commit is contained in:
grassblock 2025-05-13 22:05:28 +08:00
parent 2c7b0edaf7
commit 7ff2d1fd6c
5 changed files with 32 additions and 2 deletions

View file

@ -13,7 +13,7 @@ const { Content } = await entry.render();
---
<Layout title={`${entry.data.title} | Terminal Blog`} path={`/var/log/${entry.slug}`}>
<Layout title={`${entry.data.title} | Terminal Blog`} path={`/var/log/${entry.slug}`} description={entry.data.description} >
<h1 class="post-title">{entry.data.title}</h1>
<div class="post-content">
<Content/>