ect
ect copied to clipboard
Fastest JavaScript template engine with embedded CoffeeScript syntax
Leaving web archive url for those who are in search of documentation: https://web.archive.org/web/20210301004821/http://ectjs.com/
Is this project still being maintained?
I had to add the following to the sample code to make it work: ``` app.set('views', path.join(__dirname, "views")); ``` Here is the sample code for using with express: ``` var...
Hello, Is there any plugin for Webstorm? I couldn't find any. https://www.jetbrains.com/webstorm/
Not an issue I don't think, but I am having issues when referencing ect outputs inside JS code. 1) How would I fetch an entire object and assign it to...
Hi, Is there any way to include a collection of helpers from a 'helper only' ect file? using normal 'include' tags does not exports the helpers defined in the template...
## Scenario 1: without passing context to a partial **bar.ect** ``` ect ``` **foo.ect** ``` ect ``` **page.ect** ``` ect ``` **output** ``` json { "foo": "foo" } ``` ##...
Missing `index.d.ts` file declare, which should install by `typings install ect` command.
A static data option would be great for data that doesn't change per page
includes
Hi, I have a file structure like this: ``` . ├── index.html └── layouts ├── default.html └── partials └── metas.html ``` Template root is set to the folder containing index.html...