From 1210904b52a02cdec4153bd744a6b14cd032e4b0 Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Thu, 11 Apr 2024 00:23:43 +0200 Subject: Add search page with instruction on how to search. While the search could be implemented with things like Xapian which is available in most GNU/Linux distributions, not only this could be a lot of work, but it also makes the site not static anymore, which increase the attack surface of the server that runs the search. And finally it teach users the bad practice of relying on SAASS (service as a software substitute) or equivalent instead of doing the work themselves on their computers with the tools they want. Signed-off-by: Denis 'GNUtoo' Carikli --- haunt.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'haunt.scm') diff --git a/haunt.scm b/haunt.scm index 55dbdfd..7cfefbc 100644 --- a/haunt.scm +++ b/haunt.scm @@ -1,4 +1,4 @@ -;;; Copyright © 2023 Denis 'GNUtoo' Carikli +;;; Copyright © 2023-2024 Denis 'GNUtoo' Carikli ;;; ;;; This file is free software; you can redistribute it and/or modify ;;; it under the terms of the GNU General Public License as published @@ -19,7 +19,8 @@ (haunt builder rss) (haunt site) (website readers wordpress-markdown) - (website builders replicant-blog)) + (website builders replicant-blog) + (website builders replicant-blog-search)) (fluid-set! %default-port-encoding "UTF-8") @@ -30,6 +31,7 @@ #:posts-directory "markdown" #:readers (list wordpress-markdown-reader) #:builders (list (replicant-blog-website) + (replicant-blog-search-page) (static-directory "static") ;;;;;;;;;;; ;; Feeds ;; -- cgit v1.2.3