move current_path in to the template context, one less piece of global state