add root template

This commit is contained in:
sam 2023-10-19 02:54:47 +02:00
parent eb1bb7309a
commit 26de7b3cc4
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
10 changed files with 141 additions and 21 deletions

5
templates/error.hbs Normal file
View file

@ -0,0 +1,5 @@
{{#*inline "page"}}
<h1>Error</h1>
<p>An internal error occurred. Sorry :&lpar;</p>
{{/inline}}
{{> root.hbs}}

5
templates/index.hbs Normal file
View file

@ -0,0 +1,5 @@
{{#*inline "page"}}
<h1>board!</h1>
<p>this will be a site eventually</p>
{{/inline}}
{{> root.hbs}}

View file

@ -6,6 +6,6 @@
<title>imgboard</title>
</head>
<body>
<h1>Hello world!!!</h1>
{{> page}}
</body>
</html>
</html>