diff --git a/src/controller/room.php b/src/controller/room.php index 6c94fd8..bd9057f 100644 --- a/src/controller/room.php +++ b/src/controller/room.php @@ -251,12 +251,14 @@ class Room // Build final view and send to response return str_replace( [ + '{txid}', '{time}', '{author}', '{quote}', '{message}', ], [ + $record['txid'], $this->_ago( $matches[1] ), diff --git a/src/view/post.gemini b/src/view/post.gemini index 74ee837..ce19208 100644 --- a/src/view/post.gemini +++ b/src/view/post.gemini @@ -2,5 +2,5 @@ > {quote} {message} ``` -{time} +{time} #{txid} ``` \ No newline at end of file