| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 | HTTP/1.0 200 OKContent-Type: text/html<html><body><h1>Lua Pages syntax test</h1><h2>Intro</h2><p>This is a test for the <a href="https://keplerproject.github.io/cgilua/manual.html#templates">Kepler Syntax of Lua Pages</a>, served by the<a href="https://github.com/civetweb/civetweb/">CivetWeb web server</a>.</p><p>While the native CivetWeb syntax for Lua pages is<code><? script ?></code> and <code><?= expression ?></code>,the "Kepler syntax" uses <code><?lua chunk ?></code>, <code><?lua= expression ?></code>, <code><% chunk %></code> and <code><%= expression %></code>.</p><h2>Tags</h2><code><? greeting = 'CiwetWeb' ?><br/><strong><?= greeting %></strong><br/></code><br/><? greeting = 'CiwetWeb' ?>==> <strong><?= greeting ?></strong><br/><br/><code><?lua greeting = 'Kepler' ?><br/><strong><?lua= greeting ?></strong><br/></code><br/><?lua greeting = 'Kepler' ?>==> <strong><?lua= greeting ?></strong><br/><br/><code><% greeting = 'Kepler %' ?><br/><strong><%= greeting %></strong><br/></code><br/><% greeting = 'Kepler %' %>==> <strong><%= greeting %></strong><br/></body></html>
 |