This commit is contained in:
2021-06-19 17:55:58 +08:00
commit 651d24ad3b
24 changed files with 719 additions and 0 deletions

3
views/error.hjs Normal file
View File

@@ -0,0 +1,3 @@
<h1>{{ message }}</h1>
<h2>{{ error.status }}</h2>
<pre>{{ error.stack }}</pre>

11
views/index.hjs Normal file
View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<title>{{ title }}</title>
<link rel='stylesheet' href='/stylesheets/style.css' />
</head>
<body>
<h1>{{ title }}</h1>
<p>Welcome to {{ title }}</p>
</body>
</html>