Commit 0a88fab

HPCesia <me@hpcesia.com>
2026-02-09 10:51:46
Add placeholder article content for home and about pages
1 parent 445b790
Changed files (4)
src/contents/about.typ
@@ -0,0 +1,8 @@
+#import "./_lib/lib.typ": *
+#show: post-template
+
+#lorem(50)
+
+#lorem(30)
+
+#lorem(40)
src/contents/home.typ
@@ -0,0 +1,8 @@
+#import "./_lib/lib.typ": *
+#show: post-template
+
+#lorem(50)
+
+#lorem(30)
+
+#lorem(40)
src/pages/about.astro
@@ -1,7 +1,11 @@
 ---
+import Article from "@/contents/about.typ";
 import GlobalLayout from "@/layouts/GlobalLayout.astro";
 ---
 
 <GlobalLayout>
-  <h1>About</h1>
+  <article>
+    <h1>About</h1>
+    <Article />
+  </article>
 </GlobalLayout>
src/pages/index.astro
@@ -1,8 +1,12 @@
 ---
 import { SITE_CONFIG } from "@/config";
+import Article from "@/contents/home.typ";
 import GlobalLayout from "@/layouts/GlobalLayout.astro";
 ---
 
 <GlobalLayout>
-  <h1>{SITE_CONFIG.title}</h1>
+  <article>
+    <h1>{SITE_CONFIG.title}</h1>
+    <Article />
+  </article>
 </GlobalLayout>