Closed styks1987 closed 11 years ago
You should ask this kind of questions on the mailing list.
It's actually data-ts-template="currentdocument" and yes, the documentation is in a sad state in this regard.
This example would be a good starting point: https://github.com/Treesaver/treesaver/tree/master/examples/template-currentdocument
Thank you! That is exactly what I was looking for.
So after much trial and many errors, I finally discovered that inorder to have {{something}} replaced it had to be within the gird and use the data-ts-template="document" to get the current pages meta data set in the TOC. What I would like to do is accomplish this in the chrome section of the resources file. I can see all the pages by looping through {{#contents}} but I cannot figure out how to load a meta data associated with a single current page into the chrome area.
thanks!