First commit
This commit is contained in:
11
layouts/home.shtml
Normal file
11
layouts/home.shtml
Normal 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
12
layouts/post.shtml
Normal 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
9
layouts/posts.shtml
Normal file
@ -0,0 +1,9 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
</head>
|
||||
<body>
|
||||
<div :html="$page.content()"></div>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user