Changeset 19973 in project


Ignore:
Timestamp:
09/02/10 02:34:14 (10 years ago)
Author:
Moritz Heidkamp
Message:

gazette: add content-type meta tag and xmlns

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gazette/layouts/default.sxml

    r19971 r19973  
    11((main-title "The Chicken Gazette"))
    22`((xhtml-1.0-strict)
    3   (html
    4    (head
    5     (link (@ (href "http://wiki.call-cc.org/chicken.css") (rel "stylesheet") (type "text/css")))
    6     (link (@ (href "/gazette.css") (rel "stylesheet") (type "text/css")))
    7     (link (@ (rel "alternate") (href "/feed.atom") (type "application/atom+xml")))
    8     (title ,($ 'main-title) ,(and ($ 'title) (conc " - " ($ 'title)))))
    9    (body
    10     (div (@ (id "content"))
    11          (div (@ (id "header"))
    12               (a (@ (href "/"))
    13                  (img (@ (src "/logo.png") (alt ,($ 'main-title))))))
    14          (inject ,contents))
     3  (html (@ (xmlns "http://www.w3.org/1999/xhtml"))
     4        (head
     5         (meta (@ (http-equiv "content-type") (content "application/xhtml+xml; charset=UTF-8")))
     6         (link (@ (href "http://wiki.call-cc.org/chicken.css") (rel "stylesheet") (type "text/css")))
     7         (link (@ (href "/gazette.css") (rel "stylesheet") (type "text/css")))
     8         (link (@ (rel "alternate") (href "/feed.atom") (type "application/atom+xml")))
     9         (title ,($ 'main-title) ,(and ($ 'title) (conc " - " ($ 'title)))))
     10        (body
     11         (div (@ (id "content"))
     12              (div (@ (id "header"))
     13                   (a (@ (href "/"))
     14                      (img (@ (src "/logo.png") (alt ,($ 'main-title))))))
     15              (inject ,contents))
    1516
    16     (p (@ (class "fineprint"))
    17        "The chicken image used in the logo is kindly provided by Manfred Wischner ©"))))
     17        (p (@ (class "fineprint"))
     18            "The chicken image used in the logo is kindly provided by Manfred Wischner ©"))))
Note: See TracChangeset for help on using the changeset viewer.