Permalink
Browse files

Added Liquid tag support on a per site basis by using _tags directory.

  • Loading branch information...
n8agrin committed Apr 20, 2009
1 parent 2e4ba85 commit f65e50703ce2671f532e7bbdecfebf11aeccf9ad
Showing with 7 additions and 0 deletions.
  1. +7 −0 bin/jekyll
View
@@ -18,6 +18,13 @@ HELP
require 'optparse'
require 'jekyll'
+# Dynamically add other tags on a per site basis
+if File.directory?('_tags')
+ Dir.chdir('_tags') do
+ Dir['*.rb'].each {|file| require file}
+ end
+end
+
exec = {}
options = {}
opts = OptionParser.new do |opts|

0 comments on commit f65e507

Please sign in to comment.