Base server logic

This commit is contained in:
NGPixel
2016-08-16 23:56:08 -04:00
parent 991efbb1bc
commit 0f96377e30
10 changed files with 404 additions and 3 deletions

28
views/layout.pug Normal file
View File

@@ -0,0 +1,28 @@
doctype html
html
head
meta(http-equiv='X-UA-Compatible', content='IE=edge')
meta(charset='UTF-8')
meta(name='theme-color', content='#009688')
meta(name='msapplication-TileColor', content='#009688')
title= appconfig.title
// Favicon
each favsize in [32, 96, 16]
link(rel='icon', type='image/png', sizes=favsize + 'x' + favsize href='/images/favicon-' + favsize + 'x' + favsize + '.png')
// CSS
link(type='text/css', rel='stylesheet', href='/css/libs.css')
link(type='text/css', rel='stylesheet', href='/css/app.css')
block head
body
#root
include ./common/header
include ./common/alerts
main
block content
include ./common/footer
block outside