diff --git a/src/controller/room.php b/src/controller/room.php index c49878d..22e7a61 100644 --- a/src/controller/room.php +++ b/src/controller/room.php @@ -295,6 +295,7 @@ class Room '{author}', '{quote}', '{message}', + '{reply}', PHP_EOL . PHP_EOL ], [ @@ -307,6 +308,13 @@ class Room $this->_plain( $record['value'] ), + $this->_url( // @TODO + sprintf( + '/room/%s/reply/%s', + $namespace, + $record['txid'], + ) + ), PHP_EOL ], file_get_contents( diff --git a/src/view/post.gemini b/src/view/post.gemini index 1e6518c..396824f 100644 --- a/src/view/post.gemini +++ b/src/view/post.gemini @@ -1,9 +1,7 @@ -### {author} +### {author} [{time}] {quote} {message} -``` -{time} #{txid} -``` +=> {reply} Reply