summaryrefslogtreecommitdiff
path: root/amber/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'amber/layouts')
-rw-r--r--amber/layouts/_sidebar.html.haml9
1 files changed, 9 insertions, 0 deletions
diff --git a/amber/layouts/_sidebar.html.haml b/amber/layouts/_sidebar.html.haml
index 87a00f9..532a3c5 100644
--- a/amber/layouts/_sidebar.html.haml
+++ b/amber/layouts/_sidebar.html.haml
@@ -4,6 +4,15 @@
%li{:class => "#{item[:active]} level#{item[:level]}"}
%a{:href => item[:href], :class => ''}= item[:label]
+.sidebar-addendum
+ %br
+ %form#searchform(method="get" action="https://duckduckgo.com" onsubmit="document.forms.searchform.q.value = document.forms.searchform.query.value + ' site:leap.se'; true")
+ .input-group
+ %input.form-control(name="query" type="search")
+ .span.input-group-btn
+ %input.btn.btn-default(value="Search" type="submit")
+ %input(name="q" type="hidden")
+
-# .sidebar-addendum
-# .locale-links
-# - available_languages.each do |name, code, url|