From 99f579b3acc90150ab65f57dbdac0205af16cc30 Mon Sep 17 00:00:00 2001 From: ghost Date: Fri, 26 Jan 2024 10:27:13 +0200 Subject: [PATCH] draft post link --- src/controller/room.php | 7 +++++++ src/view/posts.gemini | 1 + 2 files changed, 8 insertions(+) diff --git a/src/controller/room.php b/src/controller/room.php index 22e7a61..df7a0e3 100644 --- a/src/controller/room.php +++ b/src/controller/room.php @@ -165,6 +165,7 @@ class Room [ '{logo}', '{home}', + '{post}', '{subject}', '{posts}' ], @@ -173,6 +174,12 @@ class Room __DIR__ . '/../../logo.ascii' ), $this->_url(), + $this->_url( // @TODO + sprintf( + '/room/%s/post', + $namespace + ) + ), $subject ? $subject : $namespace, implode( PHP_EOL, diff --git a/src/view/posts.gemini b/src/view/posts.gemini index 2fe010e..bf84fb6 100644 --- a/src/view/posts.gemini +++ b/src/view/posts.gemini @@ -5,6 +5,7 @@ ## Navigation => {home} Home +=> {post} Post ## Posts