diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2025-09-08 20:37:00 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2025-09-08 20:37:00 -0300 |
commit | 80c7666d31908044d1804f660623131657653e98 (patch) | |
tree | 97cc40d3542f3e293be25e4bf94b097515e3eda2 /templates | |
parent | 2910ac3a5e25fa2e90fdd43283f0a56e8b23eaa4 (diff) | |
download | puppet-git-master.tar.gz puppet-git-master.tar.bz2 |
Diffstat (limited to 'templates')
-rw-r--r-- | templates/cgitrc.erb | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/templates/cgitrc.erb b/templates/cgitrc.erb index 0f06680..e925f86 100644 --- a/templates/cgitrc.erb +++ b/templates/cgitrc.erb @@ -24,14 +24,13 @@ cache-snapshot-ttl=<%= @cache_snapshot_ttl %> cache-static-ttl=<%= @cache_static_ttl %> # switches -enable-http-clone=1 -enable-index-links=1 -enable-http-clone=1 -enable-git-clone=1 +enable-git-clone=<%= @enable_git_clone %> +enable-http-clone=<%= @enable_http_clone %> +enable-index-links=<%= @enable_index_links %> # filters -source-filter=/usr/lib/cgit/filters/syntax-highlighting.py -about-filter=/usr/lib/cgit/filters/about-formatting.sh +source-filter=<%= @source_filter %> +about-filter=<%= @about_filter %> # readme files readme=:README.md @@ -81,7 +80,7 @@ mimetype.png=image/png mimetype.svg=image/svg+xml # projects -enable-git-config=1 -remove-suffix=1 +enable-git-config=<%= @enable_git_config %> +remove-suffix=<%= @remove_suffix %> project-list=/var/git/projects.list scan-path=/var/git/repositories/ |