forked from thunix/wiki
Adding some styling, and enabling a sidebar
This commit is contained in:
parent
eecf824135
commit
5ece73cf0c
15
wiki.php
15
wiki.php
|
@ -14,9 +14,20 @@ print "<!DOCTYPE html>
|
||||||
</head>
|
</head>
|
||||||
<body>";
|
<body>";
|
||||||
echo ( shell_exec("/usr/bin/pandoc includes/header.md") );
|
echo ( shell_exec("/usr/bin/pandoc includes/header.md") );
|
||||||
print "<hr/>";
|
|
||||||
|
print "<hr/>
|
||||||
|
<div id='content' style='width=90%'>
|
||||||
|
<div id='sidebar' style='20%'>";
|
||||||
|
echo ( shell_exec("/usr/bin/pandoc includes/sidebar.md") );
|
||||||
|
|
||||||
|
print " </div>
|
||||||
|
<div='content' style='width=80%'>";
|
||||||
|
|
||||||
echo ( shell_exec("/usr/bin/pandoc articles/$page.md") );
|
echo ( shell_exec("/usr/bin/pandoc articles/$page.md") );
|
||||||
print "<hr/>";
|
|
||||||
|
print " </div><hr/>
|
||||||
|
</div>";
|
||||||
|
|
||||||
echo ( shell_exec("/usr/bin/pandoc includes/footer.md") );
|
echo ( shell_exec("/usr/bin/pandoc includes/footer.md") );
|
||||||
|
|
||||||
print " </body>
|
print " </body>
|
||||||
|
|
Loading…
Reference in New Issue