Browse Source

draft reply links

main
ghost 10 months ago
parent
commit
5ca4f944d5
  1. 8
      src/controller/room.php
  2. 6
      src/view/post.gemini

8
src/controller/room.php

@ -295,6 +295,7 @@ class Room @@ -295,6 +295,7 @@ class Room
'{author}',
'{quote}',
'{message}',
'{reply}',
PHP_EOL . PHP_EOL
],
[
@ -307,6 +308,13 @@ class Room @@ -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(

6
src/view/post.gemini

@ -1,9 +1,7 @@ @@ -1,9 +1,7 @@
### {author}
### {author} [{time}]
{quote}
{message}
```
{time} #{txid}
```
=> {reply} Reply

Loading…
Cancel
Save