Open dArignac opened 10 years ago
If i'm not mistaken, twig-files are normally named like template.html.twig, having the "base"-filetype in the name.
I'm wondering the same thing: how to hook Twig to replace Razr as a templating engine for a blank, freshly-generated theme by $ ./pagekit theme:generate mytheme
?
Unfortunately http://pagekit.com/marketplace/view/twig is currently down, I thought there might be some hints how to use the extension. Maybe you should update the readme on how to use the extension, I did not create a pull request for this as I do not know if the way I tried it is the intended way:
theme/templates/template.razr
withtheme/templates/template.twig
$this->layout = '/templates/template.twig';
inMyTheme->boot