Skip to content

Commit 3918a3b

Browse files
committed
Add back the google search as it search the whole page
1 parent c3d4195 commit 3918a3b

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

lib/chibi/snow/fort.scm

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,19 @@
241241
(a (@ (href . "/pkg")) "Libraries")
242242
(a (@ (href . "/doc")) "Docs")
243243
(a (@ (href . "/link")) "Resources")
244-
(a (@ (href . "/faq")) "FAQ")))
244+
(a (@ (href . "/faq")) "FAQ"))
245+
(form
246+
(@ (action . "http://www.google.com/search"))
247+
(input (@ (type . "text") (name . "q")))
248+
(input (@ (type . "hidden")
249+
(name . "domains")
250+
(value . "snow-fort.org")))
251+
(input (@ (type . "hidden")
252+
(name . "sitesearch")
253+
(value . "snow-fort.org")))
254+
(input (@ (type . "submit")
255+
(name . "search")
256+
(value . "Search Libraries")))))
245257
,body)))
246258

247259
(define (dependency-url cfg dep . o)

0 commit comments

Comments
 (0)