summaryrefslogtreecommitdiffstats
path: root/cgitrc.example
blob: 1a4ae80940bbeea5ffeaf2d4a1efad42c612fde5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# 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
root-readme=/var/www/cgit-theme-danix/site-desc.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