{% if current_repo_path %} {% set parent_path = current_repo_path.rsplit('/', 1)[0] if '/' in current_repo_path else '' %}