Fix unbound variable

Julien LepillerSun Mar 07 14:25:36+0100 2021

1bfaf5b

Fix unbound variable

gitile/pages.scm

9494
                                               "/commit/" ,(oid->string
9595
                                                             (commit-id commit))))
9696
                                      ,(commit-message commit)))
97-
                               (td ,(commit->date-string commit))))))
97+
                               (td ,(time->date-string (commit-time commit)))))))
9898
                     files))))))))
9999
100100
(define get-config-string

200200
    (($ <mytag> name message target time)
201201
     `(div (@ (class "tag-box"))
202202
           (div (@ (class "tag"))
203-
                (p (a (@ (href ,repository-name "/tree/" ,target)) ,name))
204-
                (p (span (@ (class "date"))
203+
                (p (@ (class "tag-name"))
204+
                   (a (@ (href ,repository-name "/tree/" ,target)) ,name))
205+
                (p (span (@ (class "author")))
206+
                   (span (@ (class "date"))
205207
                         ,(time->date-string time))))
206208
           (p ,message)))))
207209