Smarthtml directives
How to make static page more dynamic
What are smarthtml directives?
The purpose of the directives is to tell the application which parts of the page can be edited by the user and how they should behave.
Directives are additional attributes which may be added to HTML tags.
Due to the fact that directives are attributes, it is still possible to develop a page template
Example HTML header with sh:text
directive:
<h1 sh:text="mainHeader">Template Header</h1>