Browse Source

404 and maintenance template

lesion 5 years ago
parent
commit
e3b04de244
4 changed files with 13 additions and 3 deletions
  1. 4 0
      views/404.pug
  2. 1 1
      views/index.pug
  3. 3 2
      views/layout.pug
  4. 5 0
      views/maintenance.pug

+ 4 - 0
views/404.pug

@@ -0,0 +1,4 @@
+extends layout
+
+block content
+  p Questi non sono i droidi che state cercando.

+ 1 - 1
views/index.pug

@@ -18,4 +18,4 @@ block content
     <i>"Usa <a href="https://www.torproject.org/projects/torbrowser.html.en">Tor Browser</a>
     mi raccomando"</i> si limitò a dire, come se fosse la cosa più normale del mondo.
 
-  p  Non mi rimaneva che aprire il sito <a href="/subito">https://fugadalcontrollo.org/subito</a> e pubblicare l'annuncio.
+  p  Non mi rimaneva che aprire il sito <a href="#{base}subito">#{base}subito</a> e pubblicare l'annuncio.

+ 3 - 2
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
+    block content

+ 5 - 0
views/maintenance.pug

@@ -0,0 +1,5 @@
+extends layout
+
+block content
+  p.
+    Devi attendere un po', ci stiamo lavorando.