feat: new blog layout and props

This commit is contained in:
KazooTTT
2025-02-05 15:27:29 +08:00
parent ea645368e9
commit fea129eb98
12 changed files with 36 additions and 50 deletions

View File

@ -20,8 +20,7 @@ const { note } = Astro.props;
const meta = {
description:
note.data.description ||
`Read about my note posted on: ${note.data.publishDate.toLocaleDateString()}`,
note.data.description || `Read about my note posted on: ${note.data.date.toLocaleDateString()}`,
title: note.data.title,
};
---