add root template
This commit is contained in:
parent
eb1bb7309a
commit
26de7b3cc4
10 changed files with 141 additions and 21 deletions
5
templates/error.hbs
Normal file
5
templates/error.hbs
Normal file
|
@ -0,0 +1,5 @@
|
|||
{{#*inline "page"}}
|
||||
<h1>Error</h1>
|
||||
<p>An internal error occurred. Sorry :(</p>
|
||||
{{/inline}}
|
||||
{{> root.hbs}}
|
5
templates/index.hbs
Normal file
5
templates/index.hbs
Normal file
|
@ -0,0 +1,5 @@
|
|||
{{#*inline "page"}}
|
||||
<h1>board!</h1>
|
||||
<p>this will be a site eventually</p>
|
||||
{{/inline}}
|
||||
{{> root.hbs}}
|
|
@ -6,6 +6,6 @@
|
|||
<title>imgboard</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Hello world!!!</h1>
|
||||
{{> page}}
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue