show pretty urls
This commit is contained in:
parent
dcf9d79563
commit
3051d69ab3
11
README.md
11
README.md
|
@ -4,4 +4,13 @@ Similar to [khuxkm's previous attempt](https://github.com/tildetown/tilde-rfcs),
|
|||
|
||||
However, unlike that attempt, this system will use YAML front-matter.
|
||||
|
||||
See [RFC 0](https://rfc.tildeverse.org/rfcs/?0) for more info.
|
||||
See [RFC 0](https://rfc.tildeverse.org/rfcs/0) for more info.
|
||||
|
||||
## nginx configs
|
||||
```
|
||||
location ~* ^/rfcs/(.+)$ {
|
||||
try_files $uri $uri/ /rfcs/index.php?$1;
|
||||
include snippets/php.conf;
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
unless otherwise stated within the Standards document, are invalid.</p>
|
||||
<footer>
|
||||
<cite>
|
||||
<a href="/rfcs/?0">RFC 0: Standard 1: RFC Format and Semantics</a>
|
||||
<a href="/rfcs/0">RFC 0: Standard 1: RFC Format and Semantics</a>
|
||||
by <a href="https://tilde.team/~khuxkm/">Robert Miles</a> (aka khuxkm)
|
||||
</cite>
|
||||
</footer>
|
||||
|
@ -18,7 +18,7 @@
|
|||
|
||||
<p>This system aims to help codify some things about Tildeverse tilde servers.</p>
|
||||
|
||||
<h3>Submission guidelines (<a href="/rfcs/?0">from the standard</a>)</h3>
|
||||
<h3>Submission guidelines (<a href="/rfcs/0">from the standard</a>)</h3>
|
||||
|
||||
<p>An RFC should be submitted as a PR to the <a href="https://tildegit.org/tildeverse/rfcs">git repo</a>.</p>
|
||||
|
||||
|
|
|
@ -81,7 +81,7 @@
|
|||
<?php foreach ($rfcs as $rfc) {
|
||||
if ($rfc["yml"]["status"] !== "Accepted") continue;
|
||||
?>
|
||||
<li><a href="/rfcs/?<?=$rfc["num"]?>">RFC <?=$rfc["num"]?>: <?=$rfc["yml"]['title']?></a></li>
|
||||
<li><a href="/rfcs/<?=$rfc["num"]?>">RFC <?=$rfc["num"]?>: <?=$rfc["yml"]['title']?></a></li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
|
||||
|
@ -90,7 +90,7 @@
|
|||
<?php foreach ($rfcs as $draft) {
|
||||
if ($draft["yml"]["status"] === "Accepted") continue;
|
||||
?>
|
||||
<li><a href="/rfcs/?<?=$draft["num"]?>">Draft <?=$draft["num"]?>: <?=$draft["yml"]["title"]?></a></li>
|
||||
<li><a href="/rfcs/<?=$draft["num"]?>">Draft <?=$draft["num"]?>: <?=$draft["yml"]["title"]?></a></li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
|
||||
|
|
Loading…
Reference in New Issue