Skip to content

Commit

Permalink
Use Front Matter CMS, list on tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Hans5958 committed Dec 21, 2024
1 parent 6bf8dc2 commit ef04816
Show file tree
Hide file tree
Showing 15 changed files with 168 additions and 20 deletions.
91 changes: 91 additions & 0 deletions frontmatter.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
"$schema": "https://frontmatter.codes/frontmatter.schema.json",
"frontMatter.framework.id": "astro",
"frontMatter.preview.host": "http://localhost:4321",
"frontMatter.content.publicFolder": {
"path": "src/assets",
"relative": true
},
"frontMatter.content.pageFolders": [
{
"title": "posts",
"path": "[[workspace]]/src/content/posts",
"contentTypes": [
"posts"
]
}
],
"frontMatter.taxonomy.contentTypes": [
{
"name": "posts",
"previewPath": "'posts'",
"pageBundle": false,
"clearEmpty": true,
"fields": [
{
"title": "Title",
"name": "title",
"type": "string"
},
{
"title": "Slug",
"name": "slug",
"type": "slug"
}
{
"title": "Date created",
"name": "date",
"type": "datetime",
"isPublishDate": true
},
{
"title": "Date modified",
"name": "dateMod",
"type": "datetime",
"isModifiedDate": true
},
{
"title": "Category",
"name": "category",
"type": "categories",
"singleValueAsString": true
},
{
"title": "Tags",
"name": "tags",
"type": "tags",
"single": true
},
{
"title": "Description",
"name": "description",
"type": "string",
"description": "Short text shown on search engines and social media"
},
{
"title": "Excerpt",
"name": "excerpt",
"type": "string",
"description": "Short text shown on page"
},
{
"title": "Cover image",
"name": "cover",
"type": "string",
"isPreviewImage": true,
},
{
"title": "Cover image alt text",
"name": "coverAlt",
"type": "string"
},
{
"title": "Redirect from URL",
"name": "redirectFrom",
"type": "list"
}
]
}
],
"frontMatter.git.enabled": true
}
2 changes: 1 addition & 1 deletion src/content.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const collections = {
date: z.string().transform(str => new Date(str)),
dateMod: z.string().transform(str => new Date(str)).optional(),
category: z.string().default('Uncategorized'),
tags: z.string().default('').transform(str => str.split(' ')),
tags: z.string().array().optional(),
description: z.string().default(''),
excerpt: z.string().default(''),
cover: image().optional(),
Expand Down
7 changes: 5 additions & 2 deletions src/content/posts/2018-02-25-hello-world.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,15 @@ title: 'Hello world!'
date: 2018-02-25 20:53:04 +0700
dateMod: 2023-04-12 22:00:00 +0700
category: Bites
tags: en old-blog
tags:
- en
- old-blog
redirectFrom:
slug: hello-world
description: Hello, welcome to my new blog. Here, I will post my stuff or something. Right now, I want to start it with (maybe) posting my old stuff, and then I'll add other stuff. Stay tuned!
excerpt: Hello, welcome to my new blog. Here, I will post my stuff or something. Right now, I want to start it with (maybe) posting my old stuff, and then I'll add other stuff.
redirectFrom:
- /2018/02/25/hello-world
fmContentType: posts
---

Hello, welcome to my new blog. Here, I will post my stuff or something. Right now, I want to start it with (maybe) posting my old stuff, and then I'll add other stuff. Stay tuned!
Expand Down
8 changes: 7 additions & 1 deletion src/content/posts/2018-02-28-lets-talk-about-minecraft.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,19 @@
title: "Let's talk about Minecraft"
date: 2018-02-28 21:24:08 +0700
category: Article
tags: en old-blog essay games entertainment
tags:
- en
- old-blog
- essay
- game
- entertainment
slug: lets-talk-about-minecraft
description: Ah, Minecraft. Where all kids do unleash their creativity in a shape of pixelated blocks. Well, I played it too, even I'm not a child anymore. So, in this post. I want to talk about it.
excerpt: Ah, Minecraft. Where all kids do unleash their creativity in a shape of pixelated blocks. Well, I played it too, even I'm not a child anymore. So, in this post. I want to talk about it.
redirectFrom:
- /2018/02/28/lets-talk-about-minecraft
cover: ../../assets/lets-talk-about-minecraft/title.jpg
fmContentType: posts
---

Ah, Minecraft. Where all kids do unleash their creativity in a shape of pixelated blocks. Well, I played it too, even I'm not a child anymore. I do building sometimes, mainly redstone because I don't have a talent for building such a large structure. Other times, I play on some online servers, mainly [Hypixel](https://hypixel.net/) or [HiveMC](https://hivemc.com/). I prefer the ones that don't involve PvP because I can't fight and [my internet is bad](http://www.speedtest.net/result/7149921201) (how sad, isn't it?). Sometimes I go to some website for a new server to discover, but I mainly stick to that servers.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,18 @@
title: 'How I accidentally become famous on a Minecraft server'
date: 2018-06-20 21:31:09 +0700
category: Article
tags: en old-blog story games entertainment
tags:
- en
- old-blog
- story
- games
- entertainment
slug: how-i-accidentally-become-famous-on-a-minecraft-server
description: Hello everyone. It's been a while since my last post. Let me tell you my story of how I accidentally become famous on a Minecraft server.
excerpt: Let me tell you my story of how I accidentally become famous on a Minecraft server.
redirectFrom:
- /2018/06/20/how-i-accidentally-become-famous-on-a-minecraft-server
fmContentType: posts
---

Hello everyone. It's been a while since my last post. Let me tell you my story of how I accidentally become famous on a Minecraft server.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,15 @@
title: "Google Assistant's The Riddle Doors Answers"
date: 2018-07-03 00:00:10 +0700
category: Bites
tags: en old-blog
tags:
- en
- old-blog
slug: google-assistants-the-riddle-doors-answers
description: Here's a filler content, if you know what I mean. If you ask Google Assistant to tell a riddle, you will be playing the game called "The Riddle Doors". The game consist of 12 riddles, each having it's own storyboard. After the game ends, the game will loop. If you exit in the middle of the game, your progress will be saved. Here are the question that are asked.
excerpt: If you ask Google Assistant to tell a riddle, you will be playing the game called "The Riddle Doors". Here are the question that are asked.
redirectFrom:
- /2018/07/02/google-assistants-the-riddle-doors-answers
fmContentType: posts
---

Here's a filler content, if you know what I mean. If you ask Google Assistant to tell a riddle, you will be playing the game called "The Riddle Doors". The game consist of 12 riddles, each having it's own storyboard. After the game ends, the game will loop. If you exit in the middle of the game, your progress will be saved. Here are the question that are asked.
Expand Down
15 changes: 11 additions & 4 deletions src/content/posts/2018-08-20-minecraft-hd-heads.mdx
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
---
title: 'Cracking the mystery of Minecraft HD Heads, alone'
title: Cracking the mystery of Minecraft HD Heads, alone
date: 2018-08-20 20:33:50 +0700
dateMod: 2023-04-12 22:00:00 +0700
category: Article
tags: en old-blog project story games entertainment
tags:
- en
- old-blog
- project
- story
- games
- entertainment
slug: minecraft-hd-heads
description: So, my friend has successfully invented the so-called Minecraft HD Heads. It's just a simple Minecraft head, but the quality is upscaled, that it's not like "pixelated" anymore. He tells that he could give the steps to do to get it, but I want to try to do it by myself, without any help. I want this as a challenge, something to fill my boredom.
description: So, my friend has successfully invented the so-called Minecraft HD Heads. It's just a simple Minecraft head, but the quality is upscaled, that it's not like "pixelated" anymore. He tells that he could give the steps to do to get it, but I want to try to do it by myself, without any help. I want this as a challenge, something to fill my boredom.
excerpt: So, my friend has successfully invented the so-called Minecraft HD heads, and I want to try to do it by myself, without any help.
redirectFrom:
redirectFrom:
- /2018/08/20/minecraft-hd-heads
cover: ../../assets/minecraft-hd-heads/2.png
fmContentType: posts
---

So, my friend has successfully invented the so-called Minecraft HD heads. It's just a simple Minecraft head, but the quality is upscaled, that it's not like "pixelated" anymore. He tells that he could give the steps to do to get it, but I want to try to do it by myself, without any help. I want this as a challenge, something to fill my boredom.
Expand Down
6 changes: 5 additions & 1 deletion src/content/posts/2019-06-25-scavenger-hunt-writeups-1.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,16 @@
title: 'Scavenger Hunt Writeups - ChillZone, June 2019'
date: 2019-06-25 20:08:41 +0700
category: Article
tags: en old-blog scavenger-hunt-writeups
tags:
- en
- old-blog
- scavenger-hunt-writeups
slug: scavenger-hunt-writeups-1
description: Hey, I decided to start a series of post. I call this series "Scavenger Hunt Writeups". I do this because I'm bored and I like scavenger hunts. This includes those mini-ARG that hosted by some random Discord server. I will do this in a relaxing tone, not as technical as when someone found a critical zero-day exploit. This is the first post, hope you like it.
excerpt: Hey, I decided to start a series called "Scavenger Hunt Writeups". I do this because I'm bored and I like scavenger hunts. This scavenger hunt is hosted by ChillZone.
redirectFrom:
- /2019/06/25/scavenger-hunt-writeups-1
fmContentType: posts
---

import Image from '../../components/PrettyImage.astro';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,16 @@
title: Explanation for my presence.ts base on PreMiD
date: 2020-06-29 09:26 +0000
category: Article
tags: en programming project
tags:
- en
- programming
- project
slug: explanation-for-my-presence-ts-base-on-premid
description: Hello, and welcome to my explanation for my base/template on presence.ts. You might be wondering either how this works or why this thing complicated. In this explanation text, I will guide you how I came with the base that I made, and consequently, solve this systematic problem that a lot of developers do, as I could say.
excerpt: In this text, I will guide you how I came with the base that I made, and consequently, solve this systematic problem that a lot of developers do, as I could say.
redirectFrom:
- /2020/06/29/explanation-for-my-presence-ts-base-on-premid
fmContentType: posts
---
This was originally written for someone on an open source project, PreMiD, and it was published [here](https://github.com/Hans5958/PreMiD-Presences-Personal/blob/master/%23%20Docs/explanation-for-base.md). Context probably not needed, but if you want, check out [this repository](https://github.com/PreMiD/Presences) and check the ``presence.ts`` files, and [this documentation](https://docs.premid.app/en/dev/).

Expand Down
11 changes: 8 additions & 3 deletions src/content/posts/2023-01-22-free-content-when-it-goes-wrong.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,17 @@
title: "Free content: When it goes wrong"
date: 2023-01-22 19:07:00 +0700
category: Article
tags: en copyright essay wiki
tags:
- en
- copyright
- essay
- wiki
slug: free-content-when-it-goes-wrong
excerpt: You just created a free content. What's that? Someone use your creation for money? Here's a little blabber of when it goes wrong.
description: You just created a free content. What's that? Someone use your creation for money? Here's a little blabber of when it goes wrong.
excerpt: You just created a free content. What's that? Someone use your creation for money? Here's a little blabber of when it goes wrong.
description: You just created a free content. What's that? Someone use your creation for money? Here's a little blabber of when it goes wrong.
cover: ../../assets/free-content-when-it-goes-wrong/cover.png
coverAlt: A screenshot of the Creative Commons Attribution 4.0 International license (CC BY 4.0) template from Wikimedia Commons. This license is one of the free content license that authors can choose. The template is used to indicate files that are licensed with the license. (CC BY-SA 3.0)
fmContentType: posts
---

You just created a [free content](https://en.wikipedia.org/wiki/Free_content). You publish it on the public space and let people use your content freely. I said that you are cool. What's that? Someone use your creation for money? I mean, didn't you said that's a free content? Here's a little blabber of when it goes wrong.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,18 @@ title: Improving the Murder Drones Wiki screenshots
date: 2023-01-22 20:52:00 +0700
dateMod: 2023-04-22 04:25:00 +0700
category: Article
tags: en project programming entertainment wiki
tags:
- en
- project
- programming
- entertainment
- wiki
slug: improving-the-murder-drones-wiki-screenshots
description: Hasty, watermarked YouTube screenshots, low resolution, cropped images, are some of the problems of these screenshots. What if we somehow can take the frames of the original video and update these images?
excerpt: Hasty, watermarked YouTube screenshots, low resolution, cropped images, are some of the problems of these screenshots. What if we somehow can take the frames of the original video and update these images?
cover: ../../assets/improving-the-murder-drones-wiki-screenshots/cover.png
coverAlt: Side-by-side comparison of the initial image on the left (before) and the updated image on the right (after). A zoomed in portion of the comparison is indicated by a red square and shown on the top right of the image.
fmContentType: posts
---

import { Image } from 'astro:assets';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,13 @@ title: "osu! site corrections and reflections"
date: 2023-01-29 15:43:50 +0700
date_mod: 2023-04-22 15:12:00 +0700
category: Bites
tags: en games
tags:
- en
- games
slug: osu-site-corrections-and-reflections
excerpt: While doing the makeover of my osu! site (now page), it is so outdated, that I had a feeling to write this blog post as a supplement of it
description: While doing the makeover of my osu! site (now page), it is so outdated, that I had a feeling to write this blog post as a supplement of it. I want to keep the authenticity of the page as it is a trace of my past, so the makeover does not include every correction, which is mentioned here instead. It is also a chance for me to reflect on the past of me.
fmContentType: posts
---

Few years ago, I copied my osu! website from Google Pages to my website on GitHub in such unprocessed form. With the website rewrite using Astro, I have decided to also do a makeover of this page.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@
title: "A Pledge of Content Preservation"
date: 2023-04-22 16:35:00 +0700
category: Bites
tags: en statement
tags:
- en
- statement
slug: a-pledge-of-content-preservation
description: There are many instances where an entity retracts their content from public view. This has been seen in various cases, and it is not rare to those who are disappointed condemns such action, myself included. With that, I pledge the following.
excerpt: There are many instances where an entity retracts their content from public view. This has been seen in various cases, and it is not rare to those who are disappointed condemns such action, myself included. With that, I pledge the following.
fmContentType: posts
---

> This article has been published on https://gist.github.com/Hans5958/3add4c985ba8b5c95a23e585b7cc7c69, which has been reposted and updated in this blog.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,15 @@ title: "Thoughts on Murder Drones 1x05 (and some others)"
date: 2023-08-02 19:00:00 +0700
dateMod: 2024-01-27 17:50:00 +0700
category: Article
tags: en entertainment
tags:
- en
- entertainment
slug: thoughts-on-murder-drones-1x05
description: "It's my first time watching a new episode in less than 24 hours after release, and it's been in my head for a while. Here are some thoughts about the epsiode, the series, and the entertainment media."
excerpt: "It's my first time watching a new episode in less than 24 hours after release, and it's been in my head for a while. Here are some thoughts about the epsiode, the series, and the entertainment media as a whole."
cover: ../../assets/thoughts-on-murder-drones-1x05/cover.jpg
coverAlt: '"They are not broken. We can no longer be thrown out." said Cyn (left) in this moment of the episode, made as an screenshot.'
fmContentType: posts
---

It's my first time watching a new episode on the release day, and it's been in my head for a while. Horror series are not my preference, but when it comes to robots, I try to watch them.[^walle] In the year of the pandemic, and then the latter years, this is now become one of the series that I anticipate, and it sure is interesting.
Expand Down
6 changes: 5 additions & 1 deletion src/content/posts/2023-09-30-building-the-atlas.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,16 @@ title: "Building the Atlas: Technical notes of The r/place Atlas"
date: 2023-09-30 21:45:00 +0700
dateMod: 2023-10-27 20:00:00 +0700
category: Article
tags: en project programming
tags:
- en
- project
- programming
slug: building-the-atlas
description: r/place made its comeback in 2023. It's been a pleasure to work on this project along with the team, so here are some things regarding the Atlas and its development, both on last year and this year.
excerpt: r/place made its comeback in 2023. Here are some things regarding the Atlas and its development.
cover: ../../assets/building-the-atlas/2023.png
coverAlt: Screenshot of the The 2023 r/place Atlas.
fmContentType: posts
---

import Image from '../../components/PrettyImage.astro';
Expand Down

0 comments on commit ef04816

Please sign in to comment.