Rewrote templating engine

This commit is contained in:
joss 2024-11-19 22:51:41 +01:00
parent 63dd5fd5b3
commit 577eba63a0
3 changed files with 29 additions and 7 deletions

View file

@ -2,7 +2,7 @@
<head>
<meta charset="UTF-8">
<title>Jocelyn Otto</title>
<link rel="stylesheet" href="{PREFIX}/style.css">
<link rel="stylesheet" href="%($PREFIX%)/style.css">
</head>
<body>
@ -12,11 +12,11 @@
</header>
<div class="sidebar">
<ul class="sidemenu">
{SIDEBAR}
% echo $SIDEBAR
</ul>
</div>
<div class="content">
{CONTENT}
% echo $CONTENT
</div>
</body>
</html>