Skip to content

Commit

Permalink
Added Liquid tag support on a per site basis by using _tags directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
n8agrin committed Apr 20, 2009
1 parent 2e4ba85 commit f65e507
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions bin/jekyll
Expand Up @@ -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|
Expand Down

0 comments on commit f65e507

Please sign in to comment.