main page shenanigans; added dateUpdate attribute to blog posts; updated banner to display them
This commit is contained in:
@@ -4,6 +4,8 @@ export interface BlogPostDetails {
|
||||
// Format: HH:mm
|
||||
time: string;
|
||||
|
||||
dateUpdated?: string;
|
||||
|
||||
// Banner image title. If empty, defaults to banner.webp
|
||||
banner: string;
|
||||
bannerAlt: string;
|
||||
@@ -67,6 +69,7 @@ export const posts: BlogPostLink[] = [
|
||||
post: {
|
||||
date: "2026-03-17",
|
||||
time: "17:00",
|
||||
dateUpdated: "2026-03-25",
|
||||
banner: "banner.webp",
|
||||
bannerAlt: "A Microsoft Surface Pro 8 displaying a Blue Screen of Death.",
|
||||
title: "How To: Set Up SvelteKit Frontend + PostgreSQL Backend",
|
||||
@@ -110,6 +113,7 @@ export const posts: BlogPostLink[] = [
|
||||
post: {
|
||||
date: "2026-02-05",
|
||||
time: "22:55",
|
||||
dateUpdated: "2026-03-05",
|
||||
banner: "banner.webp",
|
||||
bannerAlt: "A Leuchtturm-branded notebook with a copper-coloured cover. An eraser, a pencil sharpener, and a Faber-Castell pencil are lying on top.",
|
||||
title: "Drawing Challenge",
|
||||
|
||||
Reference in New Issue
Block a user