From fb4dc0ca40de143ac92f73936b60d7679c8337f7 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Thu, 7 May 2026 20:28:07 +0200 Subject: Initial commit: cgit theme for danix.xyz Co-Authored-By: Claude Sonnet 4.6 --- cgitrc.example | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 cgitrc.example (limited to 'cgitrc.example') 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 -- cgit v1.2.3