summaryrefslogtreecommitdiffstats
path: root/cgitrc.example
diff options
context:
space:
mode:
Diffstat (limited to 'cgitrc.example')
-rw-r--r--cgitrc.example49
1 files changed, 49 insertions, 0 deletions
diff --git a/cgitrc.example b/cgitrc.example
new file mode 100644
index 0000000..fba2002
--- /dev/null
+++ b/cgitrc.example
@@ -0,0 +1,49 @@
+# cgitrc.example — cgit-theme-danix
+#
+# Copy relevant lines into your /etc/cgitrc or ~/.cgitrc.
+# Adjust paths to match where you deployed the theme files.
+#
+# Assumed deployment path: /usr/share/cgit/cgit-theme-danix/
+# Assumed web-accessible path: /cgit-theme/
+
+# ---- Theme ----
+css=/cgit-theme/cgit.css
+favicon=/cgit-theme/images/favicon.png
+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
+source-filter=/usr/share/cgit/cgit-theme-danix/syntax-highlight.py
+
+# ---- Site settings ----
+root-title=git.danix.xyz
+root-desc=personal git repositories
+enable-index-links=1
+enable-index-owner=0
+enable-log-filecount=1
+enable-log-linecount=1
+max-stats=quarter
+snapshots=tar.gz zip
+
+# ---- Repo grouping ----
+# Use section= before each repo to create categories.
+# These map to the "# category" headings in the theme.
+
+section=web
+repo.url=danix2-hugo-theme
+repo.path=/srv/git/danix2-hugo-theme.git
+repo.desc=Hugo theme for danix.xyz
+
+repo.url=cgit-theme-danix
+repo.path=/srv/git/cgit-theme-danix.git
+repo.desc=Custom cgit theme matching danix.xyz design system
+
+section=tools
+repo.url=dotfiles
+repo.path=/srv/git/dotfiles.git
+repo.desc=Shell configs, neovim setup, system dotfiles
+
+section=configs
+repo.url=nixos-config
+repo.path=/srv/git/nixos-config.git
+repo.desc=NixOS system configuration