# File lib/staticmatic/mixins/render.rb, line 11 def source_for_layout if layout_exists?(determine_layout) File.read(full_layout_path(determine_layout)) else raise StaticMatic::Error.new("", full_layout_path(determine_layout), "Layout not found") end end