Browse Source

view file added

master
Akhilesh Chandak 1 year ago
parent
commit
f439c235d7
3 changed files with 18 additions and 0 deletions
  1. +6
    -0
      views/error.pug
  2. +5
    -0
      views/index.pug
  3. +7
    -0
      views/layout.pug

+ 6
- 0
views/error.pug View File

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

+ 5
- 0
views/index.pug View File

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

+ 7
- 0
views/layout.pug View File

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

Loading…
Cancel
Save

Powered by TurnKey Linux.