Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 0 additions & 24 deletions site/content/assets/404

This file was deleted.

5 changes: 3 additions & 2 deletions site/pelicanconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
EXTRA_PATH_METADATA = {
"assets/robots.txt": {"path": "robots.txt"},
"assets/favicon.ico": {"path": "favicon.ico"},
"assets/404": {"path": "404.html"},
# "assets/404": {"path": "404.html"},
"assets/google7933de1bd04e097b": {"path": "google7933de1bd04e097b.html"},
"assets/google95e577d28834e13d": {"path": "google95e577d28834e13d.html"},
}
Expand All @@ -30,7 +30,8 @@
TEMPLATE_PAGES = {
"pages/community.html": "community.html",
"pages/docs.html": "docs.html",
"pages/training.html": "training.html"}
"pages/training.html": "training.html",
"templates/404.html": "404.html"}
THEME = "theme"
TIMEZONE = "Europe/London"

Expand Down
12 changes: 12 additions & 0 deletions site/theme/templates/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{% extends "default.html" %}

{% block content %}
<div class="container">
<h1>404</h1>
<p><strong>Page not found :(</strong></p>
<p>The requested page could not be found.</p>

<a href="{{ SITEURL }}/" class="button">Home</a>
<a href="{{ SITEURL }}/pages/docs.html" class="button">Docs</a>
</div>
{% endblock %}