From a595dd575f80200efa07129907ccee4686c155c4 Mon Sep 17 00:00:00 2001
From: memdmp <memdmp@estrogen.zone>
Date: Wed, 14 Jan 2026 07:05:23 +0100
Subject: feat: im done for tn i think

---
 src/lib/blog/Post.svelte | 26 ++++++++++++++++++++++++--
 1 file changed, 24 insertions(+), 2 deletions(-)

(limited to 'src/lib/blog/Post.svelte')

diff --git a/src/lib/blog/Post.svelte b/src/lib/blog/Post.svelte
index 8d50be8..2c61621 100644
--- a/src/lib/blog/Post.svelte
+++ b/src/lib/blog/Post.svelte
@@ -3,19 +3,41 @@
 </script>
 
 <script lang="ts">
-  import type { Post } from './Post';
+  import { parsePostMetadata, type Post } from './Post';
 
   let {
     post,
+    filename,
   }: {
     post: Post;
+    filename?: string;
   } = $props();
 
+  let meta = $derived(parsePostMetadata(post.metadata));
+
   let PostComp = $derived(post.default);
 </script>
 
 <div class="flex justify-center">
-  <div class="max-w-2xl">
+  <div class="max-w-2xl w-full">
+    <h1 class="font-space-grotesk text-5xl mt-8 mb-4">
+      <span class="text-accent-primary select-none">:&nbsp;</span
+      >{meta.title}<span class="text-accent-primary select-none">;</span>
+    </h1>
+    <p class="my-4 font-genericmono">
+      ctime: {meta.created.toISOString().split('T')[0]}<span class="select-none"
+        >&MediumSpace;▒&MediumSpace;</span
+      >mtime: {meta.updated.toISOString().split('T')[0]}{#if filename}<span
+          class="select-none">&MediumSpace;▒&MediumSpace;</span
+        ><a
+          href={encodeURI(
+            `https://codeberg.org/dmpmem/tilde/src/branch/master/src/routes/blog/${filename}`,
+          )}
+          class="quicklink"
+          target="_blank"
+          rel="noopener noreferrer">src</a
+        >{/if}
+    </p>
     <article id="postmd">
       <PostComp />
     </article>
-- 
cgit v1.2.3

