From 8f73c3d0ccf37f6e1a1e22e05bc256d7e33a09b1 Mon Sep 17 00:00:00 2001 From: mattip Date: Wed, 20 Mar 2024 18:41:12 +0200 Subject: [PATCH 1/2] add missing search page, properly link it --- conf.py | 10 +++++++--- pages/search.html | 13 +++++++++++++ requirements.txt | 2 +- 3 files changed, 21 insertions(+), 4 deletions(-) create mode 100644 pages/search.html diff --git a/conf.py b/conf.py index d56108d..8b8829c 100644 --- a/conf.py +++ b/conf.py @@ -676,6 +676,10 @@ # ".js": [filters.closure_compiler], # ".jpg": ["jpegoptim --strip-all -m75 -v %s"], # } +from nikola import filters +FILTERS = { + ".html": [filters.add_header_permalinks], +} # Executable for the "yui_compressor" filter (defaults to 'yui-compressor'). # YUI_COMPRESSOR_EXECUTABLE = 'yui-compressor' @@ -1229,7 +1233,7 @@ # BODY_END = "" SEARCH_FORM = """ -