mirror of
https://github.com/matt-fidd/stratos.git
synced 2026-01-01 22:39:26 +00:00
Migrated from ejs to handlebars
This commit is contained in:
4
views/error.hbs
Normal file
4
views/error.hbs
Normal file
@@ -0,0 +1,4 @@
|
||||
<h1>Error</h1>
|
||||
|
||||
<span class='code'>{{ code }}</span>
|
||||
<span class='msg'>{{ msg }}</span>
|
||||
0
views/index.hbs
Normal file
0
views/index.hbs
Normal file
7
views/layouts/main.hbs
Normal file
7
views/layouts/main.hbs
Normal file
@@ -0,0 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang='en'>
|
||||
{{> head title=title }}
|
||||
<body>
|
||||
{{{ body }}}
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,12 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<%- include('../partials/head', { title: 'Stratos - Error' }) %>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Error</h1>
|
||||
|
||||
<span class='code'><%= code %></span>
|
||||
<span class='msg'><%= msg %></span>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,9 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<%- include('../partials/head', { title: 'Stratos - Home' }) %>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Homepage</h1>
|
||||
</body>
|
||||
</html>
|
||||
@@ -13,5 +13,5 @@
|
||||
<link rel='stylesheet' href='/css/main.css'>
|
||||
|
||||
<!-- Title -->
|
||||
<title><%= title %></title>
|
||||
<title>{{ title }}</title>
|
||||
</head>
|
||||
Reference in New Issue
Block a user