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