backend: generating guests

This commit is contained in:
muerwre 2018-11-29 16:18:02 +07:00
parent b6bd300e1b
commit 5025a43dbd
16 changed files with 1380 additions and 167 deletions

6
backend/views/error.pug Normal file
View file

@ -0,0 +1,6 @@
extends layout
block content
h1= message
h2= error.status
pre #{error.stack}

5
backend/views/index.pug Normal file
View file

@ -0,0 +1,5 @@
extends layout
block content
h1= title
p Welcome to #{title}

7
backend/views/layout.pug Normal file
View file

@ -0,0 +1,7 @@
doctype html
html
head
title= title
link(rel='stylesheet', href='/stylesheets/style.css')
body
block content