Renderer#_render_template should be private

Closes #12831
Use the right indentation
_implied_layout_name should be private