Changeset 19970 in project for gazette/layouts


Ignore:
Timestamp:
09/02/10 01:37:15 (11 years ago)
Author:
Moritz Heidkamp
Message:

gazette: indent header a bit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gazette/layouts/article.sxml

    r19902 r19970  
    11()
    2 `((p (@ (class "authors"))
    3      "by "
    4      ,(fold (lambda (name authors)
    5               (append authors
    6                       `(,(and (pair? authors) ", ")
    7                         (span (@ (class "author")) ,name))))
    8             '()
    9             ($ 'authors)))
    10   (p  (@ (class "date")) ,(time->string (seconds->local-time ($ 'date)) "%Y-%m-%d %Z"))
     2`((div (@ (class "article-meta"))
     3       (p (@ (class "authors"))
     4          "by "
     5          ,(fold (lambda (name authors)
     6                   (append authors
     7                           `(,(and (pair? authors) ", ")
     8                             (span (@ (class "author")) ,name))))
     9                 '()
     10                 ($ 'authors)))
     11       (p  (@ (class "date")) ,(time->string (seconds->local-time ($ 'date)) "%Y-%m-%d %Z")))
    1112  (inject ,contents))
Note: See TracChangeset for help on using the changeset viewer.