Menu
I’m wondering if it is possible to do the following:
template.htm
[code=html]<html>
<head>
</head>
<body>
<div id=”mainDiv”>
</div>
</body>
</html>
index.htm
[code=html]<html template=”template.htm”>
@implement “mainDiv”
{
<p>This is the home page!</p>
}
</html>
someOtherPage.htm
[code=html]<html template=”template.htm”>
@implement “mainDiv”
{
<p>This is some other page!</p>
}
</html>
Basically, I would create a template that has all my styling etc… in it. Then in new pages that have the same styling and setup, I could just change the content of a specific tag to match the file’s appropriate content.