13 lines
318 B
Plaintext
13 lines
318 B
Plaintext
<div>
|
|
[%js%]
|
|
const _path = substitute(`${cwd}/${product_rel}/${path}`);
|
|
if(fs.images(_path).length)
|
|
{
|
|
const t = html.drawings(`${abs_url}/${product_rel}/${path}`,_path);
|
|
return `<h4 style="text-align:center">${name}</h4>${t}`;
|
|
}else{
|
|
console.log(_path + ' : doesnt exists');
|
|
}
|
|
[%endjs%]
|
|
</div>
|