aboutsummaryrefslogtreecommitdiff
path: root/source/_includes/header.haml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/_includes/header.haml8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/_includes/header.haml b/source/_includes/header.haml
new file mode 100644
index 00000000..ce1d054a
--- /dev/null
+++ b/source/_includes/header.haml
@@ -0,0 +1,8 @@
+.page_width
+ %a.title(href="/")=page.blog_title
+ - if page.respond_to? :google_custom_search_id
+ #search
+ %form(action="http://www.google.com/cse" id="cse-search-box")
+ %input(type="hidden" name="cx" value="#{page.google_custom_search_id}")
+ %input(type="hidden" name="ie" value="UTF-8")
+ %input#q(type="text" name="q") \ No newline at end of file