forked from thunix/wiki
Finally got the formatting fixed
This commit is contained in:
parent
a04eeda3dc
commit
9569f47a90
11
wiki.php
11
wiki.php
|
@ -7,7 +7,7 @@ if ( $page == "") {
|
||||||
}
|
}
|
||||||
|
|
||||||
print "<!DOCTYPE html>
|
print "<!DOCTYPE html>
|
||||||
<html lang='e'>
|
<html lang='en'>
|
||||||
<head>
|
<head>
|
||||||
<title>Thunix Wiki - $page</title>
|
<title>Thunix Wiki - $page</title>
|
||||||
<link rel='stylesheet' type='text/css' href='includes/site.css'>
|
<link rel='stylesheet' type='text/css' href='includes/site.css'>
|
||||||
|
@ -16,17 +16,18 @@ print "<!DOCTYPE html>
|
||||||
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='body' style='width: 90%;'>
|
||||||
<div id='sidebar' style='20%;float:left;'>";
|
<div id='sidebar' style='width: 20%;float:left;'>";
|
||||||
echo ( shell_exec("/usr/bin/pandoc includes/sidebar.md") );
|
echo ( shell_exec("/usr/bin/pandoc includes/sidebar.md") );
|
||||||
|
|
||||||
print " </div>
|
print " </div>
|
||||||
<div='content' style='width=80%'; float:right>";
|
<div id='content' style='width: 80%; float:right;'>";
|
||||||
|
|
||||||
echo ( shell_exec("/usr/bin/pandoc articles/$page.md") );
|
echo ( shell_exec("/usr/bin/pandoc articles/$page.md") );
|
||||||
|
|
||||||
print " </div><hr/>
|
print " </div><hr/>
|
||||||
</div>";
|
</div>
|
||||||
|
<div id=footer style='clear:both;'";
|
||||||
|
|
||||||
echo ( shell_exec("/usr/bin/pandoc includes/footer.md") );
|
echo ( shell_exec("/usr/bin/pandoc includes/footer.md") );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue