Some cleanup, and a way to do on-the-fly generation

This commit is contained in:
Ubergeek
2019-06-28 15:30:55 +00:00
parent 24fe8907fa
commit b2cd357199
7 changed files with 11 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
# Welcome
This is the main page. It uses markdown to edit.
View File
View File
View File
View File
+8
View File
@@ -0,0 +1,8 @@
<?php
$page= $_GET['page'];
print "<html><body>";
echo ( shell_exec("/usr/bin/pandoc $page.md") );
print "</body></html>";
?>