From 03f402c3e4fe8865571cf462e60dec5e0c9b713a Mon Sep 17 00:00:00 2001
From: Jieiku
Date: Mon, 30 May 2022 22:38:50 -0700
Subject: Add Search and Improve Contrast
---
templates/base.html | 36 +++++++++++++++++++++++++++++++++---
1 file changed, 33 insertions(+), 3 deletions(-)
(limited to 'templates/base.html')
diff --git a/templates/base.html b/templates/base.html
index f43dcba..18e1fb4 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -8,6 +8,24 @@
{% block title %}
{% if page.title %}{{ page.title }} | {% endif %}{{ config.title }}{% endblock title %}
+ {% if is_404 %}
+
+ {% else %}
+
+
+
+ {% endif %}
+ {% if current_url %}
+ {% set page_url = current_url %}
+ {% else %}
+ {% set page_url = get_url(path="404.html") %}
+ {% endif %}
+ {% if current_path %}
+ {% set page_path = current_path %}
+ {% else %}
+ {% set page_path = "/404.html" %}
+ {% endif %}
+
{% block description %}
{% if page.description %}
@@ -40,8 +58,7 @@
{% if config.extra.google %}{% endif %}
{% if config.extra.bing %}{% endif %}
-
-
+
@@ -109,6 +126,11 @@
{% endif %}
{% endif %}
+ {% if config.build_search_index %}
+
+
+ {% endif %}
+
{% block extra_head %}{% endblock extra_head %}
@@ -118,11 +140,19 @@
-
+
{% for i in config.extra.menu %}{% endfor %}
+ {% if config.build_search_index %}
+
+ {% endif %}
{% if config.extra.sitedesc %}
{% if config.description %}
--
cgit v1.3.1