Jade是一款高性能简洁易懂的模板引擎,Jade是Haml的Javascript实现,在服务端(NodeJS)及客户端均有支持。
doctype html
html(lang="zh-cn")
head
meta(http-equiv="Content-Type",content="text/html",charset='UTF-8')
meta(http-equiv="X-UA-Compatible",content="IE=Edge")
meta(http-equiv="X-UA-Compatible",content="chrome=1")
meta(name="renderer",content="webkit")
meta(name="keywords",content="SEO网站关键字,关键字")
meta(name="description",content="网站描述类文字内容")
link(rel="shortcut icon",href="icon/favicon.ico")
title网站标题
link(rel="stylesheet",href="style.css")
<!--[if lt IE 9]>
<script type="text/javascript" src="js/html5.js"></script>
<script type="text/javascript" src="js/PIE_IE678.js"></script>
<![endif]-->
script(type="text/javascript",src="xx.js")
body
div 正文内容
script(type="text/javascript",src="xx.js")