From 8a07e8bc3b0b6167fd976395b681a21f4a415e6e Mon Sep 17 00:00:00 2001 From: Asaf Gartner Date: Tue, 17 Aug 2021 23:09:24 +0300 Subject: [PATCH] Search with DDG --- src/templates/src/include/header.html | 6 +++--- src/website/routes.go | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/templates/src/include/header.html b/src/templates/src/include/header.html index 6e61d649..2bed50af 100644 --- a/src/templates/src/include/header.html +++ b/src/templates/src/include/header.html @@ -66,9 +66,9 @@ {{ end }} -
- {{/* TODO: CSRF? */}} - + + +
diff --git a/src/website/routes.go b/src/website/routes.go index 1f4d385b..e8f2f34b 100644 --- a/src/website/routes.go +++ b/src/website/routes.go @@ -288,7 +288,7 @@ func getBaseData(c *RequestContext) templates.BaseData { ManifestoUrl: hmnurl.BuildManifesto(), EpisodeGuideUrl: hmnurl.BuildHomepage(), // TODO(asaf) EditUrl: "", - SearchActionUrl: hmnurl.BuildHomepage(), // TODO(asaf) + SearchActionUrl: "https://duckduckgo.com", }, Footer: templates.Footer{ HomepageUrl: hmnurl.BuildHomepage(),