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
'{author}', '{author}',
'{quote}', '{quote}',
'{message}', '{message}',
'{reply}',
PHP_EOL . PHP_EOL PHP_EOL . PHP_EOL
], ],
[ [
@ -307,6 +308,13 @@ class Room
$this->_plain( $this->_plain(
$record['value'] $record['value']
), ),
$this->_url( // @TODO
sprintf(
'/room/%s/reply/%s',
$namespace,
$record['txid'],
)
),
PHP_EOL PHP_EOL
], ],
file_get_contents( file_get_contents(

6
src/view/post.gemini

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

Loading…
Cancel
Save