squirrellyjs / squirrelly

Semi-embedded JS template engine that supports helpers, filters, partials, and template inheritance. 4KB minzipped, written in TypeScript ⛺
https://squirrelly.js.org
MIT License
571 stars 81 forks source link

No doc or examples on how to make a layout in v8? #196

Closed Arturace closed 4 years ago

Arturace commented 4 years ago

I've been searching all sorts of places to find some example for v8 layouts, can't fine much. The closest thing I found was this, but I don't even know if this is the final syntax, but apparently it is implemented?

The docs aren't helpful either, on the page that should contain the info, there is only the partials example.

Arturace commented 4 years ago

Overall, the docs seem to be incomplete or unfinished...

Arturace commented 4 years ago

I have finally found it! test/templates had it all!

nebrelbug commented 4 years ago

@Arturace glad you found it! Sorry about the poor documentation on that front.

lukeinage commented 3 years ago

@nebrelbug Some proper documentation on this would be great as it's a really useful feature and I can't find anywhere where it's properly explained. I had to find this closed issue to figure it all out.

nebrelbug commented 3 years ago

@lukeinage sorry about that, you're right! I definitely need to update the documentation to explain this.

Hopefully I'll get to that this week :crossed_fingers: