This commit is contained in:
Nikola Petrov
2023-06-17 00:39:09 +02:00
commit c0cbadb0df
11 changed files with 1238 additions and 0 deletions

2
views/error.hbs Normal file
View File

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

2
views/index.hbs Normal file
View File

@@ -0,0 +1,2 @@
<h1>{{title}}</h1>
<p>Welcome to {{title}}</p>

10
views/layout.hbs Normal file
View File

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