diff --git a/pagure/templates/edit_file.html b/pagure/templates/edit_file.html index 83675d5..9d162d8 100644 --- a/pagure/templates/edit_file.html +++ b/pagure/templates/edit_file.html @@ -21,9 +21,8 @@ identifier=branchname) }}"> {{ branchname }}{% for file in filename.split('/') %} - {% if loop.first %} {% set path = file %} - {% else %} + {% if not loop.first %} {% set path = path + '/' + file %} {% endif %} {% if loop.index != loop.length %}