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-05 12:35:16 +00:00
|
|
|
/**
|
|
|
|
|
* Short title to be used in URL.
|
|
|
|
|
*/
|
|
|
|
|
shortTitle: string;
|
|
|
|
|
fullTitle: string;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Description to be used in page's metadata.
|
|
|
|
|
*/
|
|
|
|
|
description: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export const posts = new Map<string, BlogPostDetails>([
|
2026-01-28 23:10:36 +01:00
|
|
|
["2026/0128", {
|
2026-01-05 12:35:16 +00:00
|
|
|
date: "2026-01-05",
|
2026-01-28 23:10:36 +01:00
|
|
|
time: "13:00",
|
2026-01-05 12:35:16 +00:00
|
|
|
shortTitle: "portsmouth",
|
|
|
|
|
fullTitle: "Portsmouth Postmortem",
|
|
|
|
|
description: "",
|
|
|
|
|
}],
|
|
|
|
|
]);
|
|
|
|
|
|
|
|
|
|
// export function getDate(post: BlogPostDetails): string {
|
|
|
|
|
// var s = [post.year, post.date.split()].join("");
|
|
|
|
|
// s.
|
|
|
|
|
// return "";
|
|
|
|
|
// }
|