TTH(Template To HTML) is a tool used for exporting an html file by taking a static html with an unstatic section which contains variables and the program arguments which will be replaced with varibles in their specific places.
hte -i <TEXT-FILE> -t <TEMPLATE>
#some-variable
content ...
....
some-variable#
....
#define
var-name type attributes
....
define#
#static
....
....
....
#dynamic
var-name
....
dynamic#
...
static#