Hide the `.git' suffix from projects
This commit is contained in:
parent
3c72a6ffb2
commit
619d4678ba
1 changed files with 7 additions and 1 deletions
|
@ -50,9 +50,15 @@
|
||||||
"never"
|
"never"
|
||||||
relative-last-update)))
|
relative-last-update)))
|
||||||
|
|
||||||
|
(define (gitless name)
|
||||||
|
(let ((pos (string-contains name ".git")))
|
||||||
|
(if pos
|
||||||
|
(substring name 0 pos)
|
||||||
|
name)))
|
||||||
|
|
||||||
(define (project->row dir project)
|
(define (project->row dir project)
|
||||||
`(tr
|
`(tr
|
||||||
(td ,project)
|
(td ,(gitless project))
|
||||||
(td ,(project-description project))
|
(td ,(project-description project))
|
||||||
(td ,(git-last-update project))
|
(td ,(git-last-update project))
|
||||||
(td "")))
|
(td "")))
|
||||||
|
|
Loading…
Reference in a new issue