aboutsummaryrefslogtreecommitdiffstats
path: root/haunt.scm
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2024-04-11 00:23:43 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2025-06-15 01:30:29 +0200
commit1210904b52a02cdec4153bd744a6b14cd032e4b0 (patch)
tree75cb0078f8d71385c5542140c7ad5760ab8c6580 /haunt.scm
parent6be1837a59920ca0ba94f2454c597d64218dfb4e (diff)
downloadhaunt-blog-1210904b52a02cdec4153bd744a6b14cd032e4b0.tar.gz
haunt-blog-1210904b52a02cdec4153bd744a6b14cd032e4b0.tar.bz2
haunt-blog-1210904b52a02cdec4153bd744a6b14cd032e4b0.zip
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 <GNUtoo@cyberdimension.org>
Diffstat (limited to 'haunt.scm')
-rw-r--r--haunt.scm6
1 files changed, 4 insertions, 2 deletions
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 <GNUtoo@cyberdimension.org>
+;;; Copyright © 2023-2024 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
;;;
;;; 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 ;;