mirror of
https://github.com/offen/website.git
synced 2024-11-22 01:00:26 +01:00
further clean up routing logic
This commit is contained in:
parent
af1df38a56
commit
e137363d61
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,7 +1,6 @@
|
||||
.vscode
|
||||
.serverless
|
||||
node_modules/
|
||||
public/
|
||||
*.pem
|
||||
venv/
|
||||
|
||||
|
@ -59,6 +59,10 @@ http {
|
||||
proxy_redirect off;
|
||||
}
|
||||
|
||||
location /favicon.ico {
|
||||
root /www/data/theme/images;
|
||||
}
|
||||
|
||||
error_page 404 /404.html;
|
||||
location = /404.html {
|
||||
internal;
|
||||
|
@ -2,6 +2,7 @@ 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
|
||||
no_stats: true
|
||||
|
||||
|
||||
![Page not Found](/theme/images/content-404.webp){:class="image-text-560-315"}
|
||||
|
@ -22,7 +22,7 @@
|
||||
{% assets filters="cssmin", output="css/style.min.css", "css/normalize.css", "css/fonts.css", "css/style.css" %}
|
||||
<link rel="stylesheet" href="/{{ ASSET_URL }}">
|
||||
{% endassets %}
|
||||
{% if OFFEN_ACCOUNT_ID %}
|
||||
{% if OFFEN_ACCOUNT_ID and not page.no_stats %}
|
||||
<script async src="/script.js" data-account-id="{{ OFFEN_ACCOUNT_ID }}"></script>
|
||||
{% endif %}
|
||||
</head>
|
||||
|
Loading…
Reference in New Issue
Block a user