Cleaned up indents, added commenting for blocks

This commit is contained in:
Ubergeek 2019-07-01 15:05:01 +00:00
parent 60b4f82b6b
commit 6cf8c60681
1 changed files with 27 additions and 9 deletions

View File

@ -14,27 +14,45 @@ print "<!DOCTYPE html>
<title>$site_name - $page</title>
<link rel='stylesheet' type='text/css' href='$site_root/includes/site.css'>
</head>
<body>";
echo ( shell_exec("/usr/bin/pandoc $doc_root/includes/header.md") );
<body>
<!-- Begin Header -->
";
print "<hr/>
echo ( shell_exec("/usr/bin/pandoc $doc_root/includes/header.md") );
print "<!-- End Header -->
";
print "<hr>
<div id='body' style='width: 90%;'>
<div id='sidebar' style='width: 20%;float:left;'>";
<!-- Begin Sidebar -->
<div id='sidebar' style='width: 20%;float:left;'>
";
echo ( shell_exec("/usr/bin/pandoc $doc_root/includes/sidebar.md") );
print " </div>
<div id='content' style='width: 80%; float:right;'>";
print " </div>
<!-- End Sidebar -->
<!-- Begin Body -->
<div id='content' style='width: 80%; float:right;'>";
echo ( shell_exec("/usr/bin/pandoc $doc_root/articles/$page.md") );
print " </div>
print " </div>
<!-- End Body -->
</div>
<!-- Begin Footer -->
<div id='footer' style='clear:both;'>
<hr/>";
<hr>
";
echo ( shell_exec("/usr/bin/pandoc $doc_root/includes/footer.md") );
print " </div>
print " </div>
<!-- End Footer -->
</body>
</html>";
?>