diff options
author | EuAndreh <eu@euandre.org> | 2020-12-05 10:36:46 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-12-05 10:36:46 -0300 |
commit | ca5268eded046167557e931c47f2a45c0ebcb90b (patch) | |
tree | ca8799ca912a97894a65f1bf1c2608a46b79aa72 /sync/vps.scm | |
parent | README.md: Add note on starting a development REPL (diff) | |
download | server-ca5268eded046167557e931c47f2a45c0ebcb90b.tar.gz server-ca5268eded046167557e931c47f2a45c0ebcb90b.tar.xz |
vps.scm: Fix about path of cgit, show README files on that page
Diffstat (limited to '')
-rw-r--r-- | sync/vps.scm | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/sync/vps.scm b/sync/vps.scm index a7ec268..316b84b 100644 --- a/sync/vps.scm +++ b/sync/vps.scm @@ -388,26 +388,22 @@ pki " mail-domain " key \"" (tls-priv-for mail-domain) "\""))) (clone-prefix (list (string-append "https://" git-domain))) (source-filter (file-append cgit "/lib/cgit/filters/syntax-highlighting.py")) (about-filter (file-append cgit "/lib/cgit/filters/about-formatting.sh")) - ;; about-filter - ;;(clone-url "dunno") (enable-commit-graph? #t) (enable-follow-links? #t) - (enable-index-links? #t) + (enable-index-owner? #f) (enable-log-filecount? #t) (enable-log-linecount? #t) + (enable-subject-links? #t) + (enable-html-serving? #t) + (enable-git-config? #t) (max-repodesc-length 120) (max-stats "year") (nocache? #t) - #; - (readme "README.md") - #; - (repositories - (list - (repository-cgit-configuration))) - #; - (map (lambda (f) - (repository-cgit-configuration (readme f))) - '("README.md" "README" "README.rst" "README.org")))) + (include + (plain-file "euandreh-cgitrc" + (string-join (map (partial string-append "readme=:README") + '("" ".txt" ".md" ".rst")) + "\n"))))) (simple-service 'init-srv-directories activation-service-type #~(for-each (lambda (p) |