lukeonline

source for my website
git clone https://git.lukeonline.net/repos/lukeonline
Log | Files | Refs | README | LICENSE

commit 8ada246522a86a0d8ae56a4f95f6b8358cc0129f
parent 69eedf20c1a5aa35180cb1e2dbf2e97f9307fc44
Author: Luke Jones <luke.jones.2567@gmail.com>
Date:   Tue, 21 Jul 2026 23:33:28 +0100

refactor: update expected blog format

Diffstat:
Msrc/pages/blog/index.astro | 2+-
Msrc/pages/index.astro | 1+
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/pages/blog/index.astro b/src/pages/blog/index.astro @@ -12,7 +12,7 @@ const postViewUrl = "/blog/" const contentData = posts.map((post) => ({ title: post.data.title, - desc: `${post.data.desc} - ${post.data.date.toLocaleDateString()}`, + desc: `${post.data.desc} - ${post.data.date.toDateString()}`, link: `${postViewUrl}${post.data.slug}` })); --- diff --git a/src/pages/index.astro b/src/pages/index.astro @@ -53,3 +53,4 @@ const iconButtonRow = [ </div> </div> </Base> +