`((h2 ,title
,(if tag
- (aa `(img (@ (class "feed-icon")
- (src "/feed.svg")
+ (aa `(img (@ (class "feed-icon-h2")
+ (src "/icon-16px.png")
(alt "subscribe to atom feed")))
(tag-uri my-tag-prefix tag ".xml"))
'()))
,@(map (lambda (post)
`(tr
(td ,(aa (post-ref post 'title) (post-uri post)))
- (td (@ (style "font-size: 0.875em;"))
- ,(date->string (post-date post)
- my-date-format))))
+ (td (small
+ ,(date->string (post-date post)
+ my-date-format)))))
posts)))
(h2 "Tags")
,(tag-links (or all-posts posts))
,(if tag
'(a (@ (href "/notes.html"))
- "← all posts")
+ "← all notes")
'())))
(define bandali-theme
"images"))
(h2 (@ (id "notes")) "Notes")
(p "Here are notes about a variety of topics and issues I care "
- "about. They’re also available via " ,(aa "Atom" "notes.atom")
- " and " ,(aa "RSS" "notes.rss") " feeds.")
+ "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.")
(table
(@ (class "post-list"))
(tbody
margin-top: -0.3em;
}
+.feed-icon {
+ margin-right: 3px
+}
+.feed-icon-h2 {
+ margin-left: 5px;
+ position: relative;
+ top: 2px
+}
+
+.tag-list {
+ padding-left: 0;
+}
+.tag-list li {
+ margin-right: 0.75em;
+ white-space: nowrap;
+ display: inline-block;
+}
+.tag-list > li::before {
+ content: '';
+}
+
sup, sub { font-size: 0.85em; }
sup { vertical-align: super; }
sub { vertical-align: sub; }