Shlomi Fish avatar Shlomi Fish committed c465a27

Add the Duck Duck Go search.

Comments (0)

Files changed (2)

lib/rest-of-template.wml

 </form>
 </define-tag>
 
+<define-tag duck_duck_go_search>
+
+<h2 id="site-ddg-search">Duck Duck Go Search</h2>
+
+<div class="search">
+<!-- DuckDuckGo Search -->
+<object data="http://duckduckgo.com/search.html?width=100&amp;site=shlomifish.org&amp;prefill=Search%20DuckDuckGo" type="text/html" style="overflow:hidden;margin:0;padding:0;width:160px;height:40px;"></object>
+</div>
+
+</define-tag>
+
 <define-tag wikia_wiki_link>
 <ul class="relevant_links">
 <li>
 <shlomif_sponsored_ad_text />
 
 <google_search />
+<duck_duck_go_search />
 
 <wikia_wiki_link />
 

lib/sass/common-style.sass

     margin-bottom: 0.5cm
     margin-left: auto
     margin-right: auto
+    padding: 0.5em
     h2
         font-size: large
         font-weight: bold
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.