services: cgit: Allow file-like objects for ‘root-readme’.

* gnu/services/cgit.scm (cgit-configuration)[root-readme]: Accept
'file-object' instead of only 'string'

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Thomas Albers 2023-08-08 18:37:10 +02:00 committed by Ludovic Courtès
parent 859928fc99
commit 4cf4bd1ebe
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -581,7 +581,7 @@ (define-configuration cgit-configuration
(string "a fast webinterface for the git dscm")
"Text printed below the heading on the repository index page.")
(root-readme
(string "")
(file-object "")
"The content of the file specified with this option will be included
verbatim below the \"about\" link on the repository index page.")
(root-title