aboutsummaryrefslogtreecommitdiffstats
path: root/roles/cgit/templates/cgitrc.j2
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2023-01-22 19:51:36 +0100
committerRomain Gonçalves <me@rgoncalves.se>2023-04-02 11:45:09 +0200
commit0c70ea19a91fa28cc5f97364ce1276ad5ae6f898 (patch)
tree34fc0e5817a32d8ef50341c464562385428a0d5a /roles/cgit/templates/cgitrc.j2
parent1cdb3d7f5aa68be5d90cfbbbc69918ac7823a8ae (diff)
downloadrules-0c70ea19a91fa28cc5f97364ce1276ad5ae6f898.tar.gz
feat(roles/cgit): add argument specs
Diffstat (limited to 'roles/cgit/templates/cgitrc.j2')
-rw-r--r--roles/cgit/templates/cgitrc.j224
1 files changed, 12 insertions, 12 deletions
diff --git a/roles/cgit/templates/cgitrc.j2 b/roles/cgit/templates/cgitrc.j2
index 99dcc17..4c139d4 100644
--- a/roles/cgit/templates/cgitrc.j2
+++ b/roles/cgit/templates/cgitrc.j2
@@ -1,14 +1,8 @@
# managed by Ansible
-# visuals
-css={{ cgit__css }}
-logo={{ cgit__logo }}
-favicon={{ cgit__favicon }}
-footer={{ cgit__footer }}
-
# cache
-cache-root=/cache/cgit
-cache-size=100
+cache-root={{ cgit_cache_dir }}
+cache-size={{ cgit_cache_size }}
# readme
readme=:README.md
@@ -31,12 +25,18 @@ robots=noindex, nofollow
localtime=1
# git
-clone-url={{ cgit__clone_urls | join(' ') }}
+clone-url={{ cgit_clone_urls | join(' ') }}
# instance id
-root-title=git.{{ __global_domain_name }}
-root-desc={{ cgit__root_desc }}
-root-readme={{ cgit__root_readme }}
+root-title={{ cgit_domain_name }}
+root-desc={{ cgit_description }}
+root-readme={{ cgit_readme_url }}
+
+# visuals
+css={{ cgit_css_url }}
+logo={{ cgit_logo_url }}
+favicon={{ cgit_favicon_url }}
+footer={{ cgit_footer_path }}
# archives
snapshots=tar.gz
remember that computers suck.