Changeset 20543 in project for gazette/layouts
- Timestamp:
- 09/27/10 17:12:27 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gazette/layouts/article.sxml
r20060 r20543 1 1 () 2 2 `((h1 ,($ 'title)) 3 4 3 (div (@ (class "article-meta")) 5 (p (@ (class "authors")) 6 "by " 7 ,(car ($ 'authors)) 8 ,@(if (null? (cdr ($ 'authors))) 9 '() 10 (map (lambda (author) 11 `(,(car author) (span (@ (class "author")) ,(cdr author)))) 12 (append (map (cut cons ", " <>) (butlast (cdr ($ 'authors)))) 13 `((" and " . ,(last ($ 'authors)))))))) 14 (p (@ (class "date")) ,(format-seconds ($ 'date)))) 4 (p (@ (class "authors")) "by " ,(authors->sxml ($ 'authors))) 5 (p (@ (class "date")) ,(format-seconds ($ 'date)))) 15 6 16 7 (inject ,contents)
Note: See TracChangeset
for help on using the changeset viewer.