added tags to blog entries
This commit is contained in:
@@ -14,6 +14,8 @@ export interface BlogPostDetails {
|
|||||||
* Description to be used in page's metadata.
|
* Description to be used in page's metadata.
|
||||||
*/
|
*/
|
||||||
description: string;
|
description: string;
|
||||||
|
|
||||||
|
tags: BlogPostTag[];
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface BlogPostLink {
|
export interface BlogPostLink {
|
||||||
@@ -21,6 +23,13 @@ export interface BlogPostLink {
|
|||||||
post: BlogPostDetails;
|
post: BlogPostDetails;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export enum BlogPostTag {
|
||||||
|
ART, // ramblings to do with art
|
||||||
|
DRAWING, // self-explanatory
|
||||||
|
TECH_TIP, // tech guides
|
||||||
|
META, // about the website itself
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
export const posts: BlogPostLink[] = [
|
export const posts: BlogPostLink[] = [
|
||||||
{
|
{
|
||||||
@@ -32,6 +41,9 @@ export const posts: BlogPostLink[] = [
|
|||||||
bannerAlt: "White light blurs on a darker background.",
|
bannerAlt: "White light blurs on a darker background.",
|
||||||
title: "Moving On",
|
title: "Moving On",
|
||||||
description: "It's time to switch domains.",
|
description: "It's time to switch domains.",
|
||||||
|
tags: [
|
||||||
|
BlogPostTag.META,
|
||||||
|
],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -43,6 +55,9 @@ export const posts: BlogPostLink[] = [
|
|||||||
bannerAlt: "A sunset captured from an Autobahn exit.",
|
bannerAlt: "A sunset captured from an Autobahn exit.",
|
||||||
title: "I made a LIGHTYEARS font",
|
title: "I made a LIGHTYEARS font",
|
||||||
description: "I feel electric and it's only getting brighter!",
|
description: "I feel electric and it's only getting brighter!",
|
||||||
|
tags: [
|
||||||
|
|
||||||
|
],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -54,6 +69,9 @@ export const posts: BlogPostLink[] = [
|
|||||||
bannerAlt: "A Microsoft Surface Pro 8 displaying a Blue Screen of Death.",
|
bannerAlt: "A Microsoft Surface Pro 8 displaying a Blue Screen of Death.",
|
||||||
title: "How To: Set Up SvelteKit Frontend + PostgreSQL Backend",
|
title: "How To: Set Up SvelteKit Frontend + PostgreSQL Backend",
|
||||||
description: "How to set up a web application with a backend on a remote server without getting error 403.",
|
description: "How to set up a web application with a backend on a remote server without getting error 403.",
|
||||||
|
tags: [
|
||||||
|
BlogPostTag.TECH_TIP,
|
||||||
|
],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -62,9 +80,13 @@ export const posts: BlogPostLink[] = [
|
|||||||
date: "2026-02-14",
|
date: "2026-02-14",
|
||||||
time: "19:46",
|
time: "19:46",
|
||||||
banner: "logins.webp",
|
banner: "logins.webp",
|
||||||
bannerAlt: "A curved stick from a tree with some dry leaves attached. Its form resembles an entity with two legs, a spine, and no arms, leaning over and looking sad.",
|
bannerAlt: "A screenshot of a terminal emulator logged onto a remote server displaying log messages. The messages all display different IP addresses unsuccessfully attempting to log in with different usernames. There are over a dozen requests within a single minute on February 14, 2026.",
|
||||||
title: "SSH Woes",
|
title: "SSH Woes",
|
||||||
description: "About how I was shocked to learn that my server was open for attacks for well over a year.",
|
description: "About how I was shocked to learn that my server was open for attacks for well over a year.",
|
||||||
|
tags: [
|
||||||
|
BlogPostTag.META,
|
||||||
|
BlogPostTag.TECH_TIP,
|
||||||
|
],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -76,6 +98,9 @@ export const posts: BlogPostLink[] = [
|
|||||||
bannerAlt: "A curved stick from a tree with some dry leaves attached. Its form resembles an entity with two legs, a spine, and no arms, leaning over and looking sad.",
|
bannerAlt: "A curved stick from a tree with some dry leaves attached. Its form resembles an entity with two legs, a spine, and no arms, leaning over and looking sad.",
|
||||||
title: "Am I doing too much?",
|
title: "Am I doing too much?",
|
||||||
description: "I'm trying to pursue too many hobbies all at once and it's a struggle.",
|
description: "I'm trying to pursue too many hobbies all at once and it's a struggle.",
|
||||||
|
tags: [
|
||||||
|
BlogPostTag.ART,
|
||||||
|
],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -87,6 +112,10 @@ export const posts: BlogPostLink[] = [
|
|||||||
bannerAlt: "A Leuchtturm-branded notebook with a copper-coloured cover. An eraser, a pencil sharpener, and a Faber-Castell pencil are lying on top.",
|
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",
|
title: "Drawing Challenge",
|
||||||
description: "Challenging myself to draw something every day for 4 weeks.",
|
description: "Challenging myself to draw something every day for 4 weeks.",
|
||||||
|
tags: [
|
||||||
|
BlogPostTag.ART,
|
||||||
|
BlogPostTag.DRAWING,
|
||||||
|
],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -98,6 +127,9 @@ export const posts: BlogPostLink[] = [
|
|||||||
bannerAlt: "Colossus standing in the National Museum of Computing in Bletchley, UK",
|
bannerAlt: "Colossus standing in the National Museum of Computing in Bletchley, UK",
|
||||||
title: "Lessons Learned",
|
title: "Lessons Learned",
|
||||||
description: "A small note about how you should always check whether your finished work works as intended.",
|
description: "A small note about how you should always check whether your finished work works as intended.",
|
||||||
|
tags: [
|
||||||
|
BlogPostTag.META,
|
||||||
|
],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -109,6 +141,10 @@ export const posts: BlogPostLink[] = [
|
|||||||
bannerAlt: "A small drawing of an anime-style girl's head.",
|
bannerAlt: "A small drawing of an anime-style girl's head.",
|
||||||
title: "Limitations",
|
title: "Limitations",
|
||||||
description: "Something about how boundaries can foster creativity.",
|
description: "Something about how boundaries can foster creativity.",
|
||||||
|
tags: [
|
||||||
|
BlogPostTag.ART,
|
||||||
|
BlogPostTag.DRAWING,
|
||||||
|
],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
Reference in New Issue
Block a user