Browse Source

update template decoration

main
ghost 10 months ago
parent
commit
6a70691f64
  1. 7
      src/controller/room.php
  2. 3
      src/view/post.gemini
  3. 4
      src/view/posts.gemini
  4. 4
      src/view/room.gemini
  5. 6
      src/view/rooms.gemini

7
src/controller/room.php

@ -294,6 +294,7 @@ class Room @@ -294,6 +294,7 @@ class Room
'{author}',
'{quote}',
'{message}',
PHP_EOL . PHP_EOL
],
[
$record['txid'],
@ -301,11 +302,11 @@ class Room @@ -301,11 +302,11 @@ class Room
$matches[1]
),
'@' . $matches[2],
$quote
,
$quote,
$this->_plain(
$record['value']
)
),
PHP_EOL
],
file_get_contents(
__DIR__ . '/../view/post.gemini'

3
src/view/post.gemini

@ -1,6 +1,9 @@ @@ -1,6 +1,9 @@
### {author}
{quote}
{message}
```
{time} #{txid}
```

4
src/view/posts.gemini

@ -2,6 +2,10 @@ @@ -2,6 +2,10 @@
# {subject}
## Navigation
=> {home}
## Posts
{posts}

4
src/view/room.gemini

@ -1,3 +1,3 @@ @@ -1,3 +1,3 @@
## {name} ({total})
### {name} ({total})
=> {link}
=> {link}

6
src/view/rooms.gemini

@ -1,5 +1,9 @@ @@ -1,5 +1,9 @@
```{logo}```
# Rooms
## About
{about}
## Rooms
{rooms}
Loading…
Cancel
Save