Browse Source

draft post link

main
ghost 9 months ago
parent
commit
99f579b3ac
  1. 7
      src/controller/room.php
  2. 1
      src/view/posts.gemini

7
src/controller/room.php

@ -165,6 +165,7 @@ class Room @@ -165,6 +165,7 @@ class Room
[
'{logo}',
'{home}',
'{post}',
'{subject}',
'{posts}'
],
@ -173,6 +174,12 @@ class Room @@ -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,

1
src/view/posts.gemini

@ -5,6 +5,7 @@ @@ -5,6 +5,7 @@
## Navigation
=> {home} Home
=> {post} Post
## Posts

Loading…
Cancel
Save