mirror of
https://github.com/offen/website.git
synced 2024-11-22 17:10:29 +01:00
Merge pull request #145 from offen/add-pages
add 404 page and legal notice
This commit is contained in:
commit
549dd856fd
@ -45,6 +45,13 @@ http {
|
||||
location /auditorium/ {
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
9
homepage/content/pages/404.md
Normal file
9
homepage/content/pages/404.md
Normal 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/)*
|
@ -13,7 +13,7 @@ __offen__ is created by [Frederik Ring][frederik-ring]{: target="_blank"} and [H
|
||||
[hendrik-niefeld]: http://niefeld.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.
|
||||
|
||||
@ -22,7 +22,7 @@ We are happy to work with [NLnet Foundation][nlnet-foundation]{: target="_blank"
|
||||
|
||||
### 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]
|
||||
|
||||
|
18
homepage/content/pages/legal-notice.md
Normal file
18
homepage/content/pages/legal-notice.md
Normal 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"}
|
@ -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://
|
||||
RELATIVE_URLS = False
|
||||
|
||||
@ -7,6 +9,8 @@ PATH = 'content'
|
||||
TIMEZONE = 'Europe/Berlin'
|
||||
DEFAULT_LANG = 'en'
|
||||
|
||||
BUILD_DATE = '{} {}'.format(month_name[datetime.today().month], datetime.today().year)
|
||||
|
||||
# Feed generation is usually not desired when developing
|
||||
FEED_ALL_ATOM = None
|
||||
CATEGORY_FEED_ATOM = None
|
||||
|
@ -585,6 +585,20 @@ GRAPHICS
|
||||
/* ---------------------------------------------------
|
||||
IMAGES
|
||||
----------------------------------------------------*/
|
||||
.image-text-small {
|
||||
img {
|
||||
display: block;
|
||||
}
|
||||
.image-text-custom {
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
BIN
homepage/theme/static/images/content-404.webp
Normal file
BIN
homepage/theme/static/images/content-404.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
@ -129,9 +129,12 @@
|
||||
<p>
|
||||
<a href="{{PATREON_URL}}" rel="noopener" target="_blank">Patreon</a>
|
||||
</p>
|
||||
<p>
|
||||
<a href="/legal-notice/" rel="noopener">Legal Notice</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="footer-card">
|
||||
September 2019
|
||||
{{ BUILD_DATE }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user