2
0
mirror of https://github.com/offen/website.git synced 2024-11-23 01:20:29 +01:00

Merge pull request #145 from offen/add-pages

add 404 page and legal notice
This commit is contained in:
Hendrik Niefeld 2019-10-02 12:30:06 +02:00 committed by GitHub
commit 549dd856fd
8 changed files with 59 additions and 4 deletions

View File

@ -45,6 +45,13 @@ http {
location /auditorium/ { location /auditorium/ {
try_files $uri $uri/ /auditorium/index.html; try_files $uri $uri/ /auditorium/index.html;
} }
error_page 404 /404.html;
location = /404.html {
internal;
root /www/data;
add_header X-Robots-Tag "noindex, nofollow, nosnippet, noarchive" always;
}
} }
} }

View File

@ -0,0 +1,9 @@
Title: Page not found | offen
description: offen is a free and open source analytics software for websites and web applications that allows respectful handling of data.
save_as: 404.html
href: /404.html
![Page not Found](/theme/images/content-404.webp){:class="image-text-560-315"}
Trying to get where you want to go? This page isn't it. Sorry about that. If you're looking for what to do next, you could *take a look at our [summary.](/index/)*

View File

@ -13,7 +13,7 @@ __offen__ is created by [Frederik Ring][frederik-ring]{: target="_blank"} and [H
[hendrik-niefeld]: http://niefeld.com/ [hendrik-niefeld]: http://niefeld.com/
[frederik-ring]: https://www.frederikring.com/ [frederik-ring]: https://www.frederikring.com/
[![NLnet Foundation](/theme/images/nlnet-logo.svg){:width="160px" height="60px" class="image-text-small"}](https://nlnet.nl/){: target="_blank"} [![NLnet Foundation](/theme/images/nlnet-logo.svg){:width="160px" height="60px" class="image-text-custom"}](https://nlnet.nl/){: target="_blank"}
We are happy to work with [NLnet Foundation][nlnet-foundation]{: target="_blank"} who complement our activities within their [Next Generation Internet][next-generation-internet]{: target="_blank"} initiative. We are happy to work with [NLnet Foundation][nlnet-foundation]{: target="_blank"} who complement our activities within their [Next Generation Internet][next-generation-internet]{: target="_blank"} initiative.
@ -22,7 +22,7 @@ We are happy to work with [NLnet Foundation][nlnet-foundation]{: target="_blank"
### Contact ### Contact
Feel free to contact us with any kind of feedback. From criticism and praise to contributions or support, everything is welcome. Get in touch. *Feel free to contact us with any kind of feedback.* From criticism and praise to contributions or support, everything is welcome. Get in touch.
[mail@offen.dev][mail@offen.dev] [mail@offen.dev][mail@offen.dev]

View File

@ -0,0 +1,18 @@
Title: Legal Notice | offen
description: offen is a free and open source analytics software for websites and web applications that allows respectful handling of data.
save_as: legal-notice/index.html
href: /legal-notice/
## Legal Notice
### Information in accordance with Section 5 TMG
Frederik Ring
Torfstr. 22
13353 Berlin
### Contact Information
E-Mail: [mail@offen.dev](mailto:mail@offen.dev)
Internet address: [www.offen.dev](https://www.offen.dev/)
### Graphics and Image Sources
NLNet Logo [https://nlnet.nl/logo/](https://nlnet.nl/logo/){: target="_blank"}

View File

@ -1,3 +1,5 @@
from datetime import datetime
from calendar import month_name
# If your site is available via HTTPS, make sure SITEURL begins with https:// # If your site is available via HTTPS, make sure SITEURL begins with https://
RELATIVE_URLS = False RELATIVE_URLS = False
@ -7,6 +9,8 @@ PATH = 'content'
TIMEZONE = 'Europe/Berlin' TIMEZONE = 'Europe/Berlin'
DEFAULT_LANG = 'en' DEFAULT_LANG = 'en'
BUILD_DATE = '{} {}'.format(month_name[datetime.today().month], datetime.today().year)
# Feed generation is usually not desired when developing # Feed generation is usually not desired when developing
FEED_ALL_ATOM = None FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None CATEGORY_FEED_ATOM = None

View File

@ -585,6 +585,20 @@ GRAPHICS
/* --------------------------------------------------- /* ---------------------------------------------------
IMAGES IMAGES
----------------------------------------------------*/ ----------------------------------------------------*/
.image-text-small { img {
display: block;
}
.image-text-custom {
margin: 10px 0 -15px 0; margin: 10px 0 -15px 0;
} }
.image-text-560-315 {
width: 560px;
height: 315px;
}
@media only screen and (max-width: 600px) {
.image-text-560-315 {
max-width:100%;
height: auto;
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View File

@ -129,9 +129,12 @@
<p> <p>
<a href="{{PATREON_URL}}" rel="noopener" target="_blank">Patreon</a> <a href="{{PATREON_URL}}" rel="noopener" target="_blank">Patreon</a>
</p> </p>
<p>
<a href="/legal-notice/" rel="noopener">Legal Notice</a>
</p>
</div> </div>
<div class="footer-card"> <div class="footer-card">
September 2019 {{ BUILD_DATE }}
</div> </div>
</div> </div>
</div> </div>