X-Git-Url: http://git.shemshak.org/~bandali/bndl.org/blobdiff_plain/85314da0ba587c12c25c8d0fb9ca2708adb487ca..60d388dfb4838e3a29fd3be78f703b5abfb82a35:/haunt.scm diff --git a/haunt.scm b/haunt.scm index be470cd..6a6f113 100644 --- a/haunt.scm +++ b/haunt.scm @@ -197,17 +197,20 @@ (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