# This takes care of the rest of functionality you need # for an SEO and easy to build page. # It includes: metadata helpers, grid helpers (e.g. for photo gallerys), # navigation helpers (menus and breadcrumbs), # better render method so you can pass a block to partials # http://github.com/rpheath/navigation_helper.git # http://github.com/justinfrench/lovely-layouts.git # http://github.com/ianwhite/truncate_html # http://github.com/dekart/breadcrumbs.git # http://github.com/html/once/blob/master/lib/once.rb # http://github.com/fnando/breadcrumbs.git # http://github.com/semanticart/smart-meta Dir["#{File.expand_path(File.dirname(__FILE__))}/insightful/*"].each {|file| require file} Insightful.send(:include, Insightful::HeadHelper) Insightful.send(:include, Insightful::BodyHelper) Insightful.send(:include, Insightful::NavigationHelper) ActionView::Base.send(:include, Insightful) if defined?(ActionView) ActionController::Base.helper(Insightful) if defined?(ActionController)