aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/refinery/_header.html.erb
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2019-05-26 14:56:11 +0200
committerHarald Eilertsen <haraldei@anduin.net>2019-05-26 15:02:00 +0200
commitac1618327da1dfd606cf969fd8d8d15ddf9ece44 (patch)
tree21ddd06cd37f0ace436a6c8429706e597f8e68b1 /app/views/refinery/_header.html.erb
parent588e9e570f1a4d33844bb88f5eb7c404a872adad (diff)
downloadhmnoweb-ac1618327da1dfd606cf969fd8d8d15ddf9ece44.tar.gz
hmnoweb-ac1618327da1dfd606cf969fd8d8d15ddf9ece44.tar.bz2
hmnoweb-ac1618327da1dfd606cf969fd8d8d15ddf9ece44.zip
Add search powered by Qwant.com
Why? Implementing our own search is quite involved if we want it to be any good. So outsourcing makes sense. Qwant is hosted in Europe (France,) and takes privacy seriously and doesn't track you. See https://help.qwant.com/help/overview/our-philosophy/ And https://help.qwant.com/help/overview/how-does-qwant-make-money/ For more information.
Diffstat (limited to 'app/views/refinery/_header.html.erb')
-rw-r--r--app/views/refinery/_header.html.erb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/refinery/_header.html.erb b/app/views/refinery/_header.html.erb
index 4dbdfc2..ef0253a 100644
--- a/app/views/refinery/_header.html.erb
+++ b/app/views/refinery/_header.html.erb
@@ -18,6 +18,7 @@
<%= link_to image_tag("logo.png", :alt => "Heavymetal.no"), refinery.root_path %>
</div>
<div id="menu-area">
+ <%= render "common/search" %>
<%= Refinery::Pages::MenuPresenter.new(refinery_menu_pages, self).to_html %>
</div>
<div id="merchlink">