@psychobunny my template abstraction layer looks working for me
Unfortunately the project in which I hoped to use NodeBB is wanished.
But I'm still not lost my interest. PR was fired and waiting for review
Maybe I'll make my own theme fully with Jade. Some day...
As for supported template engines - there are modules for t.js templates and for Jade. I can add more engines if anyone needed.
Main unresolved problems are:
- rendering of template block is supported only with t.js For other engines I only pass special variable that indicates what block is requested so it can be considered on template level
- calling helpers is quite complicated in t.js so you have to be carefull when using partials with another engine
- no generic cross-engine imports and partials
I personaly don't think that these problems overweight benefits granted.