Changeset 20543 in project for gazette/src/archive.sxml


Ignore:
Timestamp:
09/27/10 17:12:27 (10 years ago)
Author:
Moritz Heidkamp
Message:

gazette: add dates and authors to archive and reverse its ordering; fix a bug in the default-page-vars regexp for issue layouts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gazette/src/archive.sxml

    r20060 r20543  
    11((title . "Archive"))
    22`(h1 ,($ 'title))
    3 `(dl ,(map (lambda (issue)
    4              `((dt (a (@ (href ,(page-path issue))) ,($ 'title issue)))
    5                (dd ,(format-seconds ($ 'date issue)))))
    6            (reverse (all-issues))))
     3`(dl (@ (id "archive"))
     4     ,(map (lambda (issue)
     5             `((dt (a (@ (href ,(page-path issue))) ,($ 'title issue))
     6                   " "
     7                   (span (@ (class "date")) ,(format-seconds ($ 'date issue))))
     8               (dd (@ (class "authors"))
     9                   "by " ,(authors->sxml ($ 'authors issue)))))
     10           (all-issues)))
Note: See TracChangeset for help on using the changeset viewer.