(dd "Library and CLI for converting TeX and LaTeX to PNG "
"images"))
(h2 (@ (id "notes")) "Notes")
- (ul
+ (table
+ (@ (class "post-list"))
+ (tbody
,@(map
(lambda (post)
(define (post-uri post)
(string-append "/"
(site-post-slug site post) ".html"))
- `(li
- (a (@ (href ,(post-uri post)))
- ,(post-ref post 'title))
- " — " ,(date->string (post-date post) "~B ~d, ~Y")))
- (take-up-to 10 (posts/reverse-chronological posts))))))
+ `(tr
+ (td (a (@ (href ,(post-uri post)))
+ ,(post-ref post 'title)))
+ (td (@ (style "font-size: 0.875em;"))
+ ,(date->string (post-date post) "~B ~d, ~Y"))))
+ (take-up-to 10 (posts/reverse-chronological posts)))))))
(define (index-page site posts)
(make-page