diff options
| author | Danilo M. <danix@danix.xyz> | 2026-05-07 20:28:07 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-05-07 20:28:07 +0200 |
| commit | fb4dc0ca40de143ac92f73936b60d7679c8337f7 (patch) | |
| tree | 354edbbd1748e1656eb142a6a202247c99e817c7 /cgitrc.example | |
| download | cgit-theme-danix-fb4dc0ca40de143ac92f73936b60d7679c8337f7.tar.gz cgit-theme-danix-fb4dc0ca40de143ac92f73936b60d7679c8337f7.zip | |
Initial commit: cgit theme for danix.xyz
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'cgitrc.example')
| -rw-r--r-- | cgitrc.example | 49 |
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 |
