def render_with_tilt_template(template_class, src, locals, &_block)
      @current_tilt_template = template_class
      template = template_class.new(source_path) { src }

      block_content = if block_given?
                        yield
                      else
                        ""
                      end

      template.render(@context, locals) do |name|
        if name
          @context._content_for_blocks[name]
        else
          block_content
        end
      end
    end
def render_with_tilt_template(template_class, src, locals, &_block)
      @current_tilt_template = template_class
      template = template_class.new(source_path) { src }

      block_content = if block_given?
                        yield
                      else
                        ""
                      end

      template.render(@context, locals) do |name|
        if name
          @context._content_for_blocks[name]
        else
          block_content
        end
      end
    end
Render source with a specific tilt template class