Handbook
Glossary
HTML template interface
Furnace framework
ยป
Furnace presentation layer
Prev:
HTML forms
Next:
Chloe templates
The
html
.
templates
vocabulary implements an abstract interface to HTML templating engines. The
html
.
templates
.
fhtml
and
html
.
templates
.
chloe
vocabularies are two implementations of this.
An HTML template is an instance of a mixin:
template
HTML templates must also implement a method on a generic word:
call-template*
( template -- )
Calling an HTML template:
call-template
( template -- )
Usually HTML templates are invoked dynamically by the Furnace web framework and HTTP server. They can also be used in static HTML generation tools:
template-convert
( template output -- )
Boilerplate support