devroom.io/lib/default.rb
2013-03-24 22:27:56 +01:00

26 lines
754 B
Ruby

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
include Nanoc3::Helpers::XMLSitemap
# cachebuster
require 'nanoc/cachebuster'
include Nanoc::Helpers::CacheBusting
# javascript concatenation
require 'nanoc/filters/javascript_concatenator'
end