Fix tags

Julien LepillerSun Mar 07 14:46:02+0100 2021

595b695

Fix tags

gitile/pages.scm

192192
    (pk 'tags tags)
193193
    (if (null? tags)
194194
        `((p "This project has no tags yet."))
195-
        (map (lambda (tag) (tag-box repository-name tag)) tags))))
195+
        (map (lambda (tag) (tag-box repository-name repo tag)) tags))))
196196
197-
(define (tag-box repository-name tag)
197+
(define (tag-box repository-name repo tag)
198198
  (match tag
199199
    (($ <mytag> name message target time)
200200
     (let ((commit (get-commit repo target)))

202202
             (p (img (@ (src ,(author-image (commit-author commit))))))
203203
             (div (@ (class "tag"))
204204
                  (p (@ (class "tag-name"))
205-
                     (a (@ (href ,repository-name "/tree/" ,target)) ,name)p ,message)
205+
                     (a (@ (href ,repository-name "/tree/" ,target)) ,name))
206206
                  (p ,message)
207207
                  (p (span (@ (class "author"))
208-
                           (commit-author commit))
208+
                           ,(signature-name (commit-author commit)))
209209
                     (span (@ (class "date"))
210210
                           ,(time->date-string time)))))))))
211211