From e9f8693fad229e078295601f8484042a2d577ded Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Thu, 31 Mar 2011 12:36:37 +0200 Subject: Add 404 error page --- public/img/trieste.jpg | Bin 0 -> 51089 bytes scripts/template.py | 2 +- template/404.content.html | 10 ++++++++++ template/404.desc_de | 1 + template/404.desc_en | 1 + template/404.keywords | 1 + 6 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 public/img/trieste.jpg create mode 100644 template/404.content.html create mode 100644 template/404.desc_de create mode 100644 template/404.desc_en create mode 100644 template/404.keywords diff --git a/public/img/trieste.jpg b/public/img/trieste.jpg new file mode 100644 index 0000000..6814395 Binary files /dev/null and b/public/img/trieste.jpg differ diff --git a/scripts/template.py b/scripts/template.py index ca1870a..c488db4 100755 --- a/scripts/template.py +++ b/scripts/template.py @@ -63,7 +63,7 @@ print ("chattopic read") datenow = time.strftime("%Y-%m-%dT%H:%M:%S +0100") print ("Set date: " + datenow) -prefixes = ['index', 'neues', 'termine', 'raeume', 'lage', 'kontakt', 'verein', 'impressum', 'webcam', 'zensusinfo'] +prefixes = ['index', 'neues', 'termine', 'raeume', 'lage', 'kontakt', 'verein', 'impressum', 'webcam', 'zensusinfo', '404', ] for prefix in prefixes: readfiles(contentpath + prefix) diff --git a/template/404.content.html b/template/404.content.html new file mode 100644 index 0000000..dc1bb57 --- /dev/null +++ b/template/404.content.html @@ -0,0 +1,10 @@ +

+ [ 404 - File not Found ] +

+ +

+ Leider konnten wir die Datei zu Deiner Anfrage nicht finden. + Eventuell ist der Link den Du benutzt hast fehlerhaft oder veraltet. + Falls Du der Meinung bist, dass dieser Link funktionieren sollte, kontaktiere bitte kontakt [at] sublab.org.
+ Hier geht es zur Startseite. +

diff --git a/template/404.desc_de b/template/404.desc_de new file mode 100644 index 0000000..270e5d0 --- /dev/null +++ b/template/404.desc_de @@ -0,0 +1 @@ +Das sublab ist ein Hackerspace im Westwerk in Leipzig-Plagwitz. Meet your local Hackers here! diff --git a/template/404.desc_en b/template/404.desc_en new file mode 100644 index 0000000..fcdffda --- /dev/null +++ b/template/404.desc_en @@ -0,0 +1 @@ +The sublab is a Hackerspacelocated at the Westwerk in Leipzig-Plagwitz (Germany). Meet your local Hackers here! diff --git a/template/404.keywords b/template/404.keywords new file mode 100644 index 0000000..b9f685b --- /dev/null +++ b/template/404.keywords @@ -0,0 +1 @@ +Chaos Computer Club, CCC, Chaostreff, Chaostreff Leipzig, Arbeitskreis Vorratsdatenspeicherung, AK Vorrat, AK, Vorrat, Freifunk, Elektronik Runde, Multimedia, Lab, Linux Multimedia Lab -- cgit v1.2.1 From fd7b3b0f017eb8206914b0d614615f46d882bf72 Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Thu, 31 Mar 2011 13:12:07 +0200 Subject: mod_rewrite now appends .html, so drop it in links --- template/template.html | 20 ++++++++++---------- template/termine.content.html | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/template/template.html b/template/template.html index a4d42b5..0c04b2d 100644 --- a/template/template.html +++ b/template/template.html @@ -43,34 +43,34 @@ @@ -114,7 +114,7 @@ $template_chattopic


- Webcam am Rack + Webcam am Rack
diff --git a/template/termine.content.html b/template/termine.content.html index fd1ab31..e83117f 100644 --- a/template/termine.content.html +++ b/template/termine.content.html @@ -8,7 +8,7 @@ Im März im sublab

- 28. März - 20 Uhr - Info und Diskussionsverastaltung zum Zensus 2011
+ 28. März - 20 Uhr - Info und Diskussionsverastaltung zum Zensus 2011
31. März - 21 Uhr - sub:lounge - Mit kühlen Getränken und dubbiger Musik

-- cgit v1.2.1 From 4d3b16280418a265a91a3d8c19ab1c7dd7bbbac1 Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Thu, 31 Mar 2011 13:25:21 +0200 Subject: Add favicon --- public/img/favicon.png | Bin 0 -> 571 bytes template/template.html | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 public/img/favicon.png diff --git a/public/img/favicon.png b/public/img/favicon.png new file mode 100644 index 0000000..07e3688 Binary files /dev/null and b/public/img/favicon.png differ diff --git a/template/template.html b/template/template.html index 0c04b2d..6fd795d 100644 --- a/template/template.html +++ b/template/template.html @@ -21,7 +21,7 @@ - + -- cgit v1.2.1 From b1abeaedbac199085f6a9a2d6dab10f05c459156 Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Thu, 31 Mar 2011 13:26:58 +0200 Subject: Scale down favicon --- public/img/favicon.png | Bin 571 -> 316 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/public/img/favicon.png b/public/img/favicon.png index 07e3688..ae20cc3 100644 Binary files a/public/img/favicon.png and b/public/img/favicon.png differ -- cgit v1.2.1 From 41dd0c1f23eba3e8bb272f2a0df51f937e4d95d0 Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Thu, 31 Mar 2011 13:28:36 +0200 Subject: Add robots.txt --- public/robots.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 public/robots.txt diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 0000000..bb01aaf --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,3 @@ +User-Agent: * +Allow: / + -- cgit v1.2.1