added blog entry
This commit is contained in:
@@ -4,25 +4,40 @@ export interface BlogPostDetails {
|
||||
// Format: HH:mm
|
||||
time: string;
|
||||
|
||||
/**
|
||||
* Short title to be used in URL.
|
||||
*/
|
||||
shortTitle: string;
|
||||
fullTitle: string;
|
||||
// Banner image title. If empty, defaults to banner.webp
|
||||
banner: string;
|
||||
|
||||
title: string;
|
||||
|
||||
/**
|
||||
* Description to be used in page's metadata.
|
||||
*/
|
||||
description: string;
|
||||
|
||||
tags: BlogTags[]; // enum
|
||||
}
|
||||
|
||||
export enum BlogTags {
|
||||
YEAR_2026,
|
||||
CREATIVITY,
|
||||
}
|
||||
|
||||
export const posts = new Map<string, BlogPostDetails>([
|
||||
["2026/0128", {
|
||||
date: "2026-01-05",
|
||||
time: "13:00",
|
||||
shortTitle: "portsmouth",
|
||||
fullTitle: "Portsmouth Postmortem",
|
||||
// ["2026/0128", {
|
||||
// date: "2026-01-05",
|
||||
// time: "13:00",
|
||||
// banner: "",
|
||||
// title: "Portsmouth Postmortem",
|
||||
// description: "",
|
||||
// tags: [],
|
||||
// }],
|
||||
["2026/0129", {
|
||||
date: "2026-01-29",
|
||||
time: "16:42",
|
||||
banner: "girl.webp",
|
||||
title: "Limitations",
|
||||
description: "",
|
||||
tags: [BlogTags.YEAR_2026, BlogTags.CREATIVITY],
|
||||
}],
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user