Permalink
Browse files

Add Google Webmaster verification

  • Loading branch information...
1 parent be19c59 commit 7804127e3370bb1db50343be10431c7fead7fa23 @runpaint runpaint committed Mar 3, 2010
Showing with 2 additions and 17 deletions.
  1. +1 −1 Rakefile
  2. +1 −0 google18c41b892eabf75d.html
  3. +0 −16 templates/recipe.html
View
@@ -211,7 +211,7 @@ end
directory "#{WEB_OUT}/css"
desc "Generate the website"
multitask :www => ["#{WEB_OUT}/vim-recipes.pdf",:html, "#{WEB_OUT}/css", :offline] do
- FileList['www/*', 'www/.[a-z]*'].each {|f| cp f, WEB_OUT}
+ FileList['www/*', 'www/.[a-z]*', 'google*'].each {|f| cp f, WEB_OUT}
File.open("#{WEB_OUT}/css/style.css",'w') do |merged|
['main','web'].each do |name|
merged.print File.open(File.join(TEMPLATES_DIR, name + '.css')).read
@@ -0,0 +1 @@
+google-site-verification: google18c41b892eabf75d.html
View
@@ -22,21 +22,5 @@
</div>
</noscript>
<div id="footnotes"></div>
-
-
- <script type="text/javascript">
- //<![CDATA[
- (function() {
- var links = document.getElementsByTagName('a');
- var query = '?';
- for(var i = 0; i < links.length; i++) {
- if(links[i].href.indexOf('#disqus_thread') >= 0) {
- query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&';
- }
- }
- document.write('<script charset="utf-8" type="text/javascript" src="http://disqus.com/forums/vimrecipes/get_num_replies.js' + query + '"></' + 'script>');
- })();
- //]]>
- </script>
<script type="text/javascript" src="/js/footnotes.js"></script>

0 comments on commit 7804127

Please sign in to comment.