2013-03-22 22:53:57 +00:00
|
|
|
require 'bundler'
|
|
|
|
Bundler.require
|
|
|
|
|
|
|
|
# Don't reload this file for nanoc autocompile. Otherwise, nanoc will eventually
|
|
|
|
# throw an "ERROR SystemStackError: stack level too deep" exception.
|
|
|
|
unless defined? LOADED_DEFAULT_CONFIG
|
|
|
|
|
|
|
|
LOADED_DEFAULT_CONFIG = true
|
|
|
|
|
|
|
|
require 'compass'
|
|
|
|
Compass.add_project_configuration File.expand_path('../../compass-config.rb', __FILE__)
|
|
|
|
|
|
|
|
include Nanoc3::Helpers::Blogging
|
|
|
|
include Nanoc3::Helpers::Tagging
|
|
|
|
include Nanoc3::Helpers::HTMLEscape
|
|
|
|
include Nanoc3::Helpers::Rendering
|
|
|
|
include Nanoc3::Helpers::LinkTo
|
|
|
|
|
|
|
|
# cachebuster
|
|
|
|
require 'nanoc/cachebuster'
|
|
|
|
include Nanoc::Helpers::CacheBusting
|
|
|
|
|
|
|
|
# javascript concatenation
|
|
|
|
require 'nanoc/filters/javascript_concatenator'
|
|
|
|
end
|