add post page

This commit is contained in:
张超
2024-08-05 17:19:23 +08:00
parent e974da8adb
commit bfa17eaf13
6 changed files with 125 additions and 151 deletions

15
templates/post.tmpl Normal file
View File

@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<title>Page 1</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<h1>Page 1</h1>
<p>This is the content of page 1.</p>
<h1>{{.Title}}</h1>
<h2>{{.Slug}}</h2>
<h3>{{.Text}}</h3>
</body>
</html>