diff --git a/pagure/templates/repo_master.html b/pagure/templates/repo_master.html index a60eccf..c0c5e58 100644 --- a/pagure/templates/repo_master.html +++ b/pagure/templates/repo_master.html @@ -39,7 +39,7 @@ repo=repo.name) }}">Overview - {% if config['DOC_APP_URL'] and repo.settings.get('project_documentation', True) %} + {% if config['DOC_APP_URL'] and repo and repo.settings.get('project_documentation', True) %}