HOSTED (HTML Only Static Template Engine Driver)
Hosted is a PHP library for creating static html pages from JSON data.
Template Guide
-
Variables
${variable_name}
Example
<a href="tel:${phone}" class="phone">${phone}</a>
-
Image Uploads
_{image_variable_name}
Example
<img src="_{about_us_image}" alt="">
-
Template Strings
%{@template_name <tag attribute="$normal_variable"\> <inner-tag attribute="$*image_upload_variable"></inner-tag> <other-tag>$another_normal_variable</other-tag> </tag> }
Example
%{@courses <article class="col-md-4"> <figure> <a href="$link"><img src="$*image"></a> </figure> <section> <h5>$title</h5> <span>$duration</span> <p>$description</p> <a class="button-rectangle-out solid-button" href="$link">Read More</a> </section> </article> }