摘要: 先看几个例子吧haml:!!! XML!!! strict%html{ xmlns: "http://www.w3.org/1999/xhtml" } %head %title Sample haml template %body - var title = "hello haml!"; #home= title %ul.menu %li Go Home %li Go Backhtml:<?xml version='1.0' encoding='utf-8' ?><!DOCTYPE html PUBLIC阅读全文
posted @ 2012-07-02 23:25 tangoboy 阅读(450) 评论(0) 编辑