basic signup and wiki

This commit is contained in:
root
2019-09-14 14:29:05 -04:00
parent 1e5a430d3a
commit 6ef1fbf131
15 changed files with 12589 additions and 2 deletions

17
wiki/index.php Normal file
View File

@@ -0,0 +1,17 @@
<?php
$title = "tilde.club wiki";
include __DIR__."/../header.php";
?>
<h1>the tilde.club wiki</h1>
<p>here's the articles on our wiki:</p>
<ul>
<?php foreach (glob("source/*.md") as $article) {
$article = basename($article, ".md"); ?>
<li><a href="/wiki/<?=$article?>.html"><?=$article?></a></li>
<?php } ?>
</ul>
<?php include __DIR__."/../footer.php";