jpettersson/lingon — pull request #44 by jpettersson (2014-06-29 21:11:31+00:00)
Title: EJS inline includes

This feature adds support for inline Lingon include directives in EJS files. This is useful since EJS does not natively support partials. The inline include directive is contained in a special HTML comment. The directive parser recognizes it by looking for the "Lingon: include" command. The include works like regular Lingon includes and support globs.

Example:

```HTML

```

The only limitation right now is that the include is processed before EJS, so it's not possible to use EJS logic to control the include. I'd like to add support for this as well, but it's a can of worms..

Feel free to merge after taking a look.