Mustache is a specification for light, logic-less templates.
This project aims to deliver a set of base classes and example templates that can be used to build websites using the TourCMS API and Mustache templating system, building on the excellent mustache.php.
-
Download / clone to a directory on your webserver
-
Rename
inc/config-example.php
toinc/config.php
-
Edit
inc/config.php
and enter your TourCMS API credentials -
Fire up a browser and point it at
product-list.php
Enabling pretty URLs is a two step process:
-
Rename
.htaccess-example
to.htaccess
-
???
None, although this is very early code so beware!