diff options
author | Michael Scherer <misc@zarb.org> | 2014-12-13 02:55:53 +0100 |
---|---|---|
committer | Michael Scherer <misc@zarb.org> | 2014-12-13 02:55:53 +0100 |
commit | 548b13a73b32653da0169ab550136c2095a32ed6 (patch) | |
tree | 0978c234dacf8762dd48eb6fd47734b290c7d3c8 /roles | |
parent | 095a09c69aade8e2f18c9d22fd3adfd6c9c11bdb (diff) |
Fix new lines for repo.url
Diffstat (limited to 'roles')
-rw-r--r-- | roles/cgit/templates/cgitrepos | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/roles/cgit/templates/cgitrepos b/roles/cgit/templates/cgitrepos index 54b86f2..f3fac9a 100644 --- a/roles/cgit/templates/cgitrepos +++ b/roles/cgit/templates/cgitrepos @@ -1,7 +1,10 @@ {% if git_repositories is defined %} {% for repo in git_repositories %} {% if not repo.private is defined or not repo.private %} -repo.url={% if repo.url is defined %}{{ repo.url }}{% else %}{{ repo.name }} +repo.url={% if repo.url is defined %} +{{ repo.url }} +{% else %} +{{ repo.name }} {% endif %} repo.path={{ git_repositories_dir}}/{{ repo.name }} repo.desc={{ repo.desc }} |