HTML templates are useful in cases where the author has to create
several pages which have similar design but different content. With
KompoZer you can design your own templates and use them as a basis for your
web pages.
Creating a Template
To create a template:
Click on File > New, or click on
the arrow besides "New" button and select "More Options"
Select Blank Template and click on "Create
Add and format the content which will remain the same in every
page with same methods used to edit normal text in a web page.
For the content which will be different in the web pages,
Editable Area can be inserted by clicking on Insert > Templates >
Editable Area. Options available for an editable area are:
Click on File > Open or use
keyboard shortcut "Ctrl+N"
Select the option "A New Document based on a Template" and
choose the template to use by clicking on "Choose File"
Click on Create
Edit the content in the editable areas.
Save the file as an html document.
Tip: Click on Edit > Detach
From Template to detach a document from its template.
Tip: Transformation of existing document into a
template and vice-versa can be achieved by checking(unchecking) the
"Templates" option in Format > Page Title and Properties.