From 61b122e88cc6783b4d0cf5142a22002f8e558c60 Mon Sep 17 00:00:00 2001 From: winter Date: Sat, 15 Mar 2025 18:35:59 +0000 Subject: implement pages --- templates/note_page.php | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 templates/note_page.php (limited to 'templates/note_page.php') diff --git a/templates/note_page.php b/templates/note_page.php new file mode 100644 index 0000000..647c64e --- /dev/null +++ b/templates/note_page.php @@ -0,0 +1,36 @@ +getPage(); + +call_template('skeleton', ['pageTitle' => $page->title, 'renderTitleHeading' => false], function () use ($note, $page) { ?> +
+
+

title) ?>

+ + $note->author]); ?> + ' . htmlspecialchars($note->author->displayName) . '' + ) ?> + +
+ created)) ?> +
+ modified) && $note->modified != $note->created): ?> +
+ modified)) ?> +
+ +
+
+ getBestContentAsHtml() ?> +
+
+
+