From 2ed5ea840c6309c1e05ee79ccfaed9303a8bac40 Mon Sep 17 00:00:00 2001 From: renovate Date: Mon, 13 Jul 2026 18:00:26 +0700 Subject: [PATCH 1/5] Update dependency typescript to v7 --- bun.lock | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bun.lock b/bun.lock index 5f6e9a2..794d6ca 100644 --- a/bun.lock +++ b/bun.lock @@ -12,7 +12,7 @@ "@types/bun": "latest", }, "peerDependencies": { - "typescript": "^5", + "typescript": "^5 || ^7.0.0", }, }, }, diff --git a/package.json b/package.json index afdf796..9375f2e 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "@types/bun": "latest" }, "peerDependencies": { - "typescript": "^5" + "typescript": "^5 || ^7.0.0" }, "dependencies": { "@catppuccin/tailwindcss": "^1.0.0", From 6e785284f27bb4e4b0b579e6331e9760bad5cb96 Mon Sep 17 00:00:00 2001 From: satr14 Date: Mon, 13 Jul 2026 19:17:59 +0700 Subject: [PATCH 2/5] remove revisions --- index.ts | 1 - metadata.json | 3 +-- templates/post.html | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/index.ts b/index.ts index 6749be7..0affa64 100644 --- a/index.ts +++ b/index.ts @@ -66,7 +66,6 @@ await Promise.all(posts.map(async (post) => { .replaceAll("[[TITLE]]", `${metadata.title} - ${frontmatter.title}`) .replaceAll("[[POST_TITLE]]", frontmatter.title) .replaceAll("[[DATE]]", frontmatter.date.toDateString()) - .replaceAll("[[REVISIONS]]", `${metadata.revisions}/${post}`) .replaceAll("[[DESC]]", frontmatter.desc) .replace("[[CONTENT]]", html); diff --git a/metadata.json b/metadata.json index eb8462a..04ea2df 100644 --- a/metadata.json +++ b/metadata.json @@ -2,6 +2,5 @@ "title": "satr14's mind", "name": "satr14", "description": "Welcome to my 2nd over-engineered corner of the Interwebs! I'm Satria, Im a self-taught hobbyist web developer and homelaber sysadmin from Indonesia. I've been programming since 2021 and spend my free time working on personal projects.\n\nThis blog is where I share my thoughts, projects, experiences, tutorials, and just about anything I feel like sharing. Have any corrections, suggestions, or just wanna chat? Feel free to send an [email](mailto:admin@satr14.my.id) or contact me on other [platforms](https://satr14.my.id).", - "timezone": "Asia/Jakarta", - "revisions": "https://git.satr14.my.id/satr14/ssg.md/commits/branch/main/posts" + "timezone": "Asia/Jakarta" } diff --git a/templates/post.html b/templates/post.html index 5df0fb4..b3c0781 100644 --- a/templates/post.html +++ b/templates/post.html @@ -34,7 +34,7 @@

[[POST_TITLE]]

- [[DATE]] - view revisions + [[DATE]] [[CONTENT]]