First commit

This commit is contained in:
2024-10-08 08:26:14 -06:00
commit d3beb92c8e
10 changed files with 84 additions and 0 deletions

11
layouts/home.shtml Normal file
View File

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title :text="$site.title"></title>
</head>
<body>
<h1 :text="$page.title"></h1>
<div :html="$page.content()"></div>
</body>
</html>

12
layouts/post.shtml Normal file
View File

@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title :text="$page.title.suffix(' — ', $site.title)"></title>
<link rel="stylesheet" type="text/css" href="$site.asset('style.css').link()">
</head>
<body>
<h1 :text="$page.title"></h1>
<ctx :html="$page.content()"></ctx>
</body>
</html>

9
layouts/posts.shtml Normal file
View File

@ -0,0 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<div :html="$page.content()"></div>
</body>
</html>