From 8bc8306a5039d0d07b52f1878cc108e47f2981b7 Mon Sep 17 00:00:00 2001 From: Oliver Date: Mon, 11 Oct 2021 20:48:32 +1100 Subject: [PATCH] Fix 404 error page --- _includes/overrides/404.html | 32 +++++++++++++++++++++++++++----- _includes/overrides/home.html | 4 ++-- docs/part/part.md | 6 ------ 3 files changed, 29 insertions(+), 13 deletions(-) diff --git a/_includes/overrides/404.html b/_includes/overrides/404.html index b9468fc..70389c4 100644 --- a/_includes/overrides/404.html +++ b/_includes/overrides/404.html @@ -1,7 +1,29 @@ -{% extends "main.html" %} +{% extends "base.html" %} + +{% block tabs %} +{{ super() }} + +{% endblock %} + +{% block site_nav %} +{% endblock %} + {% block content %} -

- {% include ".icons/fontawesome/regular/sad-tear.svg" %} - Uh oh - Page not found... -

+ + +
+
+
+

+ + Page not found +

+
+
+ {% endblock %} \ No newline at end of file diff --git a/_includes/overrides/home.html b/_includes/overrides/home.html index a04eaf5..8aabcfb 100644 --- a/_includes/overrides/home.html +++ b/_includes/overrides/home.html @@ -23,10 +23,10 @@
- Features + Features - Install + Install Source Code diff --git a/docs/part/part.md b/docs/part/part.md index 6793fc2..996cdaa 100644 --- a/docs/part/part.md +++ b/docs/part/part.md @@ -4,12 +4,6 @@ title: Parts ## Part -
    -{% for key in config.keys() %} -
  • {{ key}} - {{ config[key] }}
  • -{% endfor %} -
- The *Part* is the core element of the InvenTree ecosystem. A Part object is the archetype of any stock item in your inventory. Parts are arranged in heirarchical categories which are used to organise and filter parts by function. ## Part Category