Template Engine for HTML
Project description
Fox Template Engine Manual
Example
Before
html
head
title
Test MyTemplator
.title
.head
body
% repeat 2 %
div
div
cerverve
.div
.div style="test: test;"
% end %
% repeat 2 %
h1
Something
.h1
% end %
div
div
% repeat 3 %
h3
Test 3 rep
.h3
% end %
.div
.div
.body
.html
After
<html>
<head>
<title>
Test MyTemplator
</title>
</head>
<body>
<div>
<div>
cerverve
</div>
</div style="test: test;" >
<div>
<div>
cerverve
</div>
</div style="test: test;" >
<h1>
Something
</h1>
<h1>
Something
</h1>
<div>
<div>
<h3>
Test 3 rep
</h3>
<h3>
Test 3 rep
</h3>
<h3>
Test 3 rep
</h3>
</div>
</div>
</body>
</html>
Recommendation
Don't use a loop in a loop
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.