aje-assets
v0.0.4
Published
AJE shared assets
Downloads
2
Readme
aje-assets
This repository contains assets that are shared between various AJE sites.
Installation
Run npm install git+ssh://[email protected]:researchsquare/aje-assets.git
--save
.
Using Liquid templates
Liquid templates are already used by our Jekyll sites. They can be used in PHP
with the help of a third-party library, such as liquid/liquid
:
$template = new \Liquid\Template();
$template->parse('path/to/template.html');
return $template->render(array(
/* list of variables to pass in */
));