From a2d9bfaace83fb9f0e44b0e484f2900e68fa4bac Mon Sep 17 00:00:00 2001 From: pan <1029559041@qq.com> Date: Sat, 10 Oct 2020 00:40:54 +0800 Subject: [PATCH] init --- views/error.pug | 6 ++++++ views/layout.pug | 7 +++++++ 2 files changed, 13 insertions(+) create mode 100644 views/error.pug create mode 100644 views/layout.pug diff --git a/views/error.pug b/views/error.pug new file mode 100644 index 0000000..51ec12c --- /dev/null +++ b/views/error.pug @@ -0,0 +1,6 @@ +extends layout + +block content + h1= message + h2= error.status + pre #{error.stack} diff --git a/views/layout.pug b/views/layout.pug new file mode 100644 index 0000000..15af079 --- /dev/null +++ b/views/layout.pug @@ -0,0 +1,7 @@ +doctype html +html + head + title= title + link(rel='stylesheet', href='/stylesheets/style.css') + body + block content