Browse code

renamed google_site_search to google_custom_search

B Mathis authored on 11/11/2009 at 23:06:21
Showing 2 changed files
... ...
@@ -65,7 +65,7 @@ Octopress has built in support for the Disqus commenting system, using the "univ
65 65
     disqus_short_name: yourdisqusname
66 66
 
67 67
 ### Google Custom Search
68
-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.
68
+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.
69 69
 
70 70
 ### Google Analytics
71 71
 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/).
... ...
@@ -11,7 +11,7 @@ delicious_count: 3
11 11
 full_url: 
12 12
 disqus_short_name: 
13 13
 
14
-google_site_search_id: 
14
+google_custom_search_id: 
15 15
 google_analytics: true
16 16
 
17 17
 ---
... ...
@@ -40,10 +40,10 @@ google_analytics: true
40 40
     #header
41 41
       .page_width
42 42
         %a.title(href="/")=page.blog_title
43
-        - if page.respond_to? :google_site_search_id
43
+        - if page.respond_to? :google_custom_search_id
44 44
           #search
45 45
             %form(action="http://www.google.com/cse" id="cse-search-box")
46
-              %input(type="hidden" name="cx" value="#{page.google_site_search_id}")
46
+              %input(type="hidden" name="cx" value="#{page.google_custom_search_id}")
47 47
               %input(type="hidden" name="ie" value="UTF-8")
48 48
               %input#q(type="text" name="q")
49 49
     #nav