::
- AHTMTEMP: AN HTML TEMPLATE LANGUAGE, VERSION 01 (2007 JAN 13)
===============================================================
You must read the file LICENSE.txt in this folder.
- MAIN NEWS
===========
* First release
- EXAMPLE
=========
|## AHTM COMMENT
|## use "|" at the start of any python row
|## use "html = ''" at the start of any "def"
|## use "return html" at end of any "def"
|## use "end" at the end of any ":"
|## use "%NAME" for the html replace
|
|def main(title):
|
| html = ''
|
<div id="page">
|
| for i in range(4):
| if i == 0:
|
<div id="head">
<h1>%title</h1>
</div>
|
| end #if
|
| sel = select(i)
| p = '%'
|
%sel<code>%p</code>
|
| end #for
|
</div>
|
| return ...