- "about. They’re also available via " ,(aa "Atom" "notes.atom")
- " and " ,(aa "RSS" "notes.rss") " feeds.")
- (table
- (@ (class "post-list"))
- (tbody
- ,@(map
- (lambda (post)
- (define (post-uri post)
- (string-append "/"
- (site-post-slug site post) ".html"))
- `(tr
- (td ,(aa (post-ref post 'title) (post-uri post)))
- (td (small
- ,(date->string (post-date post) my-date-format)))))
- (take-up-to 10 (posts/reverse-chronological posts)))))))
+ "about. They’re also available via "
+ ,(aa `((img (@ (class "feed-icon")
+ (src "/icon-12px.png")
+ (alt "subscribe to atom feed")))
+ "Atom")
+ "notes.atom")
+ " and "
+ ,(aa `((img (@ (class "feed-icon")
+ (src "/icon-12px.png")
+ (alt "subscribe to rss feed")))
+ "RSS") "notes.rss") " feeds.")
+ ,(post-list-table site posts)))