main page shenanigans; added dateUpdate attribute to blog posts; updated banner to display them

This commit is contained in:
2026-04-02 15:50:30 +02:00
parent 3484efc498
commit f932793b62
6 changed files with 97 additions and 71 deletions

View File

@@ -8,6 +8,7 @@ export async function load({ params }) {
const content = post.default;
const title: string = postValues?.title ?? "";
const date: string = postValues?.date ?? "";
const dateUpdated: string = postValues?.dateUpdated ?? "";
const time: string = postValues?.time ?? "";
const banner: string = postValues?.banner ?? "";
const description: string = postValues?.description ?? "";
@@ -17,6 +18,7 @@ export async function load({ params }) {
title,
banner,
date,
dateUpdated,
time,
tag,
description,