diff options
| author | winter | 2024-12-23 18:20:25 +0000 |
|---|---|---|
| committer | winter | 2024-12-23 18:20:25 +0000 |
| commit | bccad1118364427ea5c97c08d132fd128368760b (patch) | |
| tree | 449a4f5b36309e1e80694718f72ebc6e136e0140 /templates/global_timeline.php | |
| parent | 094b1d010253f1a9a114303d823739e513834742 (diff) | |
make a crummy template system and use it for global timeline
Diffstat (limited to 'templates/global_timeline.php')
| -rw-r--r-- | templates/global_timeline.php | 6 |
1 files changed, 6 insertions, 0 deletions
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 @@ +<?php call_template('skeleton', ['pageTitle' => 'Global timeline'], function () { + global $notes; + foreach ($notes as $n) { + call_template('note', ['note' => $n]); + } +});
\ No newline at end of file |
