from the previous issues and commit messages it looks like Hogan can now do inheritance.
Can you write an example / doc / test to show the syntax, please?
Alright, found the tests in test/index.js from line 713 onwards. Nice!
I think the issue should remain open though, in the sense that it should be written somewhere that hogan supports this extension to mustache.
Just learned it completely by mistake while reading this issue -> mustache/spec#38
And it never occurred to me I should look at the tests source to learn about it :D.
@rdrey thanks for reopening! :D.
I agree that reading tests and past issues/commits is not the easiest way to learn about Hogan's inheritance ;)
+1 on needing documentation
Is there any progress on this?
+1 Documentation, please
+1 on better documentation
+1 on better docs, looking for template inheritance documentation.
+1 on inheritance documentation, please
ehm... +1 ?
There is some documentation to be had in the form of the hogan.js tests. The template inheritance implementation in mustache.php also has some documentation. Not ideal but thought I would point folks towards some stuff!
Thanks @jazzdan! Just finished reading the (very) old proposal for template inheritance in the mustache spec repo. Thanks for putting in the PR, hope it'll get merged!