Support deno 1.3.x/0.67.0; replace handlebars with view_engine library

This commit is contained in:
2020-09-04 09:40:16 -05:00
parent 0f182b592b
commit ff34578d07
23 changed files with 287 additions and 141 deletions

View File

@@ -1 +1,6 @@
<h1>Welcome to Daton!</h1>
<html>
{{> header }}
<body>
<h1>{{ greeting }} from Daton!</h1>
</body>
</html>

View File

@@ -1,14 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
{{#if title}}
<title>{{ title }} | Daton</title>
{{else}}
<title>Daton</title>
{{/if}}
</head>
<body>
{{{ body }}}
</body>
</html>

View File

@@ -0,0 +1,3 @@
<head>
<title>Daton</title>
</head>