From e3b04de244addb5b2b2f076f047286c418d6a84b Mon Sep 17 00:00:00 2001 From: lesion Date: Sun, 26 Aug 2018 23:44:54 +0200 Subject: [PATCH] 404 and maintenance template --- views/404.pug | 4 ++++ views/index.pug | 2 +- views/layout.pug | 5 +++-- views/maintenance.pug | 5 +++++ 4 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 views/404.pug create mode 100644 views/maintenance.pug diff --git a/views/404.pug b/views/404.pug new file mode 100644 index 0000000..dbf6122 --- /dev/null +++ b/views/404.pug @@ -0,0 +1,4 @@ +extends layout + +block content + p Questi non sono i droidi che state cercando. \ No newline at end of file diff --git a/views/index.pug b/views/index.pug index 044592a..fa73060 100644 --- a/views/index.pug +++ b/views/index.pug @@ -18,4 +18,4 @@ block content "Usa Tor Browser mi raccomando" si limitò a dire, come se fosse la cosa più normale del mondo. - p Non mi rimaneva che aprire il sito https://fugadalcontrollo.org/subito e pubblicare l'annuncio. + p Non mi rimaneva che aprire il sito #{base}subito e pubblicare l'annuncio. diff --git a/views/layout.pug b/views/layout.pug index b945f57..ae3cb47 100644 --- a/views/layout.pug +++ b/views/layout.pug @@ -1,7 +1,8 @@ doctype html html head + base(href=base) title= title - link(rel='stylesheet', href='/stylesheets/style.css') + link(rel='stylesheet', href='stylesheets/style.css') body - block content \ No newline at end of file + block content diff --git a/views/maintenance.pug b/views/maintenance.pug new file mode 100644 index 0000000..c53486a --- /dev/null +++ b/views/maintenance.pug @@ -0,0 +1,5 @@ +extends layout + +block content + p. + Devi attendere un po', ci stiamo lavorando.