From bccad1118364427ea5c97c08d132fd128368760b Mon Sep 17 00:00:00 2001
From: winter
Date: Mon, 23 Dec 2024 18:20:25 +0000
Subject: make a crummy template system and use it for global timeline
---
templates/global_timeline.php | 6 ++++++
templates/note.php | 11 +++++++++++
templates/skeleton.php | 22 ++++++++++++++++++++++
3 files changed, 39 insertions(+)
create mode 100644 templates/global_timeline.php
create mode 100644 templates/note.php
create mode 100644 templates/skeleton.php
(limited to 'templates')
diff --git a/templates/global_timeline.php b/templates/global_timeline.php
new file mode 100644
index 0000000..dbecd7b
--- /dev/null
+++ b/templates/global_timeline.php
@@ -0,0 +1,6 @@
+ 'Global timeline'], function () {
+ global $notes;
+ foreach ($notes as $n) {
+ call_template('note', ['note' => $n]);
+ }
+});
\ No newline at end of file
diff --git a/templates/note.php b/templates/note.php
new file mode 100644
index 0000000..c3ec9fd
--- /dev/null
+++ b/templates/note.php
@@ -0,0 +1,11 @@
+
+