Adding some styling, and enabling a sidebar

This commit is contained in:
Ubergeek 2019-06-30 02:22:37 +00:00
parent eecf824135
commit 5ece73cf0c
1 changed files with 13 additions and 2 deletions

View File

@ -14,9 +14,20 @@ print "<!DOCTYPE html>
</head>
<body>";
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") );
print "<hr/>";
print " </div><hr/>
</div>";
echo ( shell_exec("/usr/bin/pandoc includes/footer.md") );
print " </body>