Skip to content

Instantly share code, notes, and snippets.

@ziyan-junaideen
Last active August 29, 2015 14:10
Show Gist options
  • Save ziyan-junaideen/a31e07a96c5d1201390d to your computer and use it in GitHub Desktop.
Save ziyan-junaideen/a31e07a96c5d1201390d to your computer and use it in GitHub Desktop.
{% highlight ruby %}
require "rubygems"
require "tmpdir"
namespace :site do
desc "Generate blog files"
task :generate do
Jekyll::Site.new(Jekyll.configuration({
"source" => ".",
"destination" => "_site"
})).process
end
end
{% endhighlight %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment