Browse Source

draft post link

main
ghost 11 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
[ [
'{logo}', '{logo}',
'{home}', '{home}',
'{post}',
'{subject}', '{subject}',
'{posts}' '{posts}'
], ],
@ -173,6 +174,12 @@ class Room
__DIR__ . '/../../logo.ascii' __DIR__ . '/../../logo.ascii'
), ),
$this->_url(), $this->_url(),
$this->_url( // @TODO
sprintf(
'/room/%s/post',
$namespace
)
),
$subject ? $subject : $namespace, $subject ? $subject : $namespace,
implode( implode(
PHP_EOL, PHP_EOL,

1
src/view/posts.gemini

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

Loading…
Cancel
Save