为HTML模板开发人员构建工具。任何?

时间:2014-04-15 02:44:15

标签: javascript html css templates build-tools

我找到了一个构建工具,可以帮助我构建html模板文件来完成html。像这样:

header.tmp

<html>
<head><title>Hello world</title></head>
<body>

footer.tmp

<script></script>
</body>
</html>

index.tmp

{{header.tmp}}
<div>Hello world!</div>
{{footer.tmp}}

otherpage.tmp

{{header.tmp}}
<div>This is another page</div>
{{footer.tmp}}

然后我使用命令构建模板,例如:

> htmltemplatebuilder ./
    Building... index.html
    Building... otherpage.html

然后我使用页眉,正文和页脚获得 index.html otherpage.html 。你明白了。

我相信有这样的工具,但我无法找到。

请帮助,非常感谢!

0 个答案:

没有答案
相关问题