From 18300386cdbac412cae5e4dc1d26156b5649d32b Mon Sep 17 00:00:00 2001 From: Matthias Portzel Date: Mon, 4 Apr 2022 12:12:56 -0400 Subject: [PATCH] Add title to Search page * Fix typo * Add currently used Xapian version * Change Xapian version link --- README | 6 +++--- templates/search/search.html | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README b/README index 53a5af3..e2c8245 100644 --- a/README +++ b/README @@ -43,8 +43,9 @@ pip install -r requirements.txt curl -OL https://tildegit.org/matthias/xapian-haystack/raw/branch/master/install_xapian.sh # NOTE: make sure the virtual enviroment is enabled before running this - # Check the latest version of xapian from https://github.com/xapian/xapian/tags - sh install_xapain.sh + # Check the latest version of xapian from https://xapian.org + # As of writing, that's 1.4.19 + sh install_xapian.sh ./manage.py rebuild_index @@ -59,4 +60,3 @@ EOF ``` - diff --git a/templates/search/search.html b/templates/search/search.html index ca96c03..6d43c3c 100644 --- a/templates/search/search.html +++ b/templates/search/search.html @@ -1,5 +1,7 @@ {% extends "whispermaphone/page.html" %} +{% block title %}Search{% if query %} "{{ query }}"{% endif %}{% endblock %} + {% block navigation %} Thoughts About{% if authenticated %}