2026-01-05 12:35:16 +00:00
|
|
|
export interface BlogPostDetails {
|
|
|
|
|
date: string;
|
|
|
|
|
|
2026-01-28 23:10:36 +01:00
|
|
|
// Format: HH:mm
|
|
|
|
|
time: string;
|
|
|
|
|
|
2026-01-29 16:42:08 +01:00
|
|
|
// Banner image title. If empty, defaults to banner.webp
|
|
|
|
|
banner: string;
|
|
|
|
|
|
|
|
|
|
title: string;
|
2026-01-05 12:35:16 +00:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Description to be used in page's metadata.
|
|
|
|
|
*/
|
|
|
|
|
description: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export const posts = new Map<string, BlogPostDetails>([
|
2026-01-31 10:24:16 +01:00
|
|
|
// ["2026/0128", {
|
|
|
|
|
// date: "2026-01-05",
|
|
|
|
|
// time: "13:00",
|
|
|
|
|
// banner: "langstone.webp",
|
|
|
|
|
// title: "Portsmouth Postmortem",
|
|
|
|
|
// description: "",
|
|
|
|
|
// }],
|
2026-01-29 16:42:08 +01:00
|
|
|
["2026/0129", {
|
|
|
|
|
date: "2026-01-29",
|
|
|
|
|
time: "16:42",
|
|
|
|
|
banner: "girl.webp",
|
|
|
|
|
title: "Limitations",
|
2026-01-29 16:57:17 +01:00
|
|
|
description: "Something about how boundaries can foster creativity.",
|
2026-01-05 12:35:16 +00:00
|
|
|
}],
|
|
|
|
|
]);
|
|
|
|
|
|
|
|
|
|
// export function getDate(post: BlogPostDetails): string {
|
|
|
|
|
// var s = [post.year, post.date.split()].join("");
|
|
|
|
|
// s.
|
|
|
|
|
// return "";
|
|
|
|
|
// }
|