Jemplate-runtimeのjs Jemplateを使うためにはまずは、(x)html側でJemplate.jsを読み込む必要があります。 % jemplate --runtime > Jemplate.js このようにして作成できますので(x)htmlで <script src="Jemplate.js" type="text/javascript"></script> のように読み込んであげましょう。 Hello Jemplate では実際にJemplateエンジンを作ってみましょう。 hello.tt Hello [% engine %]! とりあえずこんな感じで簡単なテンプレートを作成してみます。 で、このテンプレートファイルをjemplateでコンパイルします。 % jemplate --compile hello.tt > hello.js そうするとhello.jsの中