Skip to content

Commit

Permalink
Moved to website address.
Browse files Browse the repository at this point in the history
  • Loading branch information
doolin committed Aug 18, 2011
0 parents commit 5507569
Show file tree
Hide file tree
Showing 76 changed files with 37,001 additions and 0 deletions.
46 changes: 46 additions & 0 deletions Rakefile
@@ -0,0 +1,46 @@

namespace :color do

targetdir = "site"

desc 'Delete generated _site files'
task :clean do
system "rm -fR _site *~"
end

desc 'Run the jekyll dev server'
task :server do
system "jekyll --server --auto"
end

desc 'Build the pages.'
task :compile do
system "./colorproc.rb > _partials/colors.html.erb"
system "./erb_run.rb index.html.erb > index.html"
system "./erb_run.rb oh-no.html.erb > oh-no.html"
system "./erb_run.rb thank-you.html.erb > thank-you.html"
system "./erb_run.rb about.html.erb > about.html"
end

end



namespace :compass do

desc 'Delete temporary compass files'
task :clean do
system "rm -fR css/*"
end

desc 'Run the compass watch script'
task :watch do
system "compass watch"
end

desc 'Compile sass scripts'
task :compile => [:clean] do
system "compass compile"
end

end
14 changes: 14 additions & 0 deletions _google_analytics.html.erb
@@ -0,0 +1,14 @@

<script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-701371-26']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

</script>

0 comments on commit 5507569

Please sign in to comment.