aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB Mathis <brandon@imathis.com>2009-11-11 17:06:21 -0600
committerB Mathis <brandon@imathis.com>2009-11-11 17:06:21 -0600
commit50e218dd6630803c6fa13b3359671cca9079be7d (patch)
tree540806472d11abb48b99b35753d6016e55396f35
parentb6f89c421fbb4154110ec8abc3ee9dd1a35f013f (diff)
downloadmy_new_personal_website-50e218dd6630803c6fa13b3359671cca9079be7d.tar.xz
my_new_personal_website-50e218dd6630803c6fa13b3359671cca9079be7d.zip
renamed google_site_search to google_custom_search
-rw-r--r--README.markdown2
-rw-r--r--source/_layouts/default.haml6
2 files changed, 4 insertions, 4 deletions
diff --git a/README.markdown b/README.markdown
index 53ba686c..22789a1d 100644
--- a/README.markdown
+++ b/README.markdown
@@ -65,7 +65,7 @@ Octopress has built in support for the Disqus commenting system, using the "univ
disqus_short_name: yourdisqusname
### Google Custom Search
-First setup a custom search for your site at [http://google.com/cse/](http://google.com/cse/) then add your custom\_search\_id to the YAML block in the default layout.
+First setup a custom search for your site at [http://google.com/cse/](http://google.com/cse/) then add your google\_custom\_search\_id to the YAML block in the default layout.
### Google Analytics
The analytics tracking scripts are already integrated into Octopress, all you have to do is register your site at [http://google.com/analytics/](http://google.com/analytics/).
diff --git a/source/_layouts/default.haml b/source/_layouts/default.haml
index 4842c792..412979e4 100644
--- a/source/_layouts/default.haml
+++ b/source/_layouts/default.haml
@@ -11,7 +11,7 @@ delicious_count: 3
full_url:
disqus_short_name:
-google_site_search_id:
+google_custom_search_id:
google_analytics: true
---
@@ -40,10 +40,10 @@ google_analytics: true
#header
.page_width
%a.title(href="/")=page.blog_title
- - if page.respond_to? :google_site_search_id
+ - 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_site_search_id}")
+ %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")
#nav