summaryrefslogtreecommitdiffstats
path: root/cgitrc.example
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-05-08 10:00:20 +0200
committerDanilo M. <danix@danix.xyz>2026-05-08 10:00:20 +0200
commit16be7b046b8c10cefa3fbc5a1883d73cfc627a01 (patch)
tree958d63743e2630cf5a9c78a398e2a83b49826550 /cgitrc.example
parentcb09e76adc9d09765b3c3e19e0c2ee32c480c2fd (diff)
downloadcgit-theme-danix-16be7b046b8c10cefa3fbc5a1883d73cfc627a01.tar.gz
cgit-theme-danix-16be7b046b8c10cefa3fbc5a1883d73cfc627a01.zip
feat: add welcome text to index page via root-readme
Inject site-desc.html on the repo list page using cgit's root-readme option. Mirrors the welcome text and signature from the gitweb theme.
Diffstat (limited to 'cgitrc.example')
-rw-r--r--cgitrc.example1
1 files changed, 1 insertions, 0 deletions
diff --git a/cgitrc.example b/cgitrc.example
index fba2002..1a4ae80 100644
--- a/cgitrc.example
+++ b/cgitrc.example
@@ -13,6 +13,7 @@ logo=/cgit-theme/images/lampD.png
logo-link=https://danix.xyz
head-include=/var/www/cgit-theme-danix/head.html
footer=/usr/share/cgit/cgit-theme-danix/footer.html
+root-readme=/var/www/cgit-theme-danix/site-desc.html
source-filter=/usr/share/cgit/cgit-theme-danix/syntax-highlight.py
# ---- Site settings ----