Add language tag to file content

Julien LepillerMon Mar 08 13:43:21+0100 2021

fac1f0c

Add language tag to file content

gitile/code.scm

2727
         (language (match extension
2828
                     ("scm" "scheme")
2929
                     (_ "unknown"))))
30-
    `(table (@ (class "file-content"))
30+
    `(table (@ (class ,(string-append "file-content language-" language)))
3131
       ,@(split-tr (highlights->sxml (highlight-code content language))))))
3232
3333
(define (display-formatted-code content language)