Oh… No matter what I get a compile error because the title isnt defined in compilation, but it lets it compile anyway.
So your code works fine, and it can be written without two index function calls instead:
{{ index .Site.Data .Title “tree” }}
But it does need quotations around the properties, I would never have known that.
And if its multiple (nested) object properties after, you do this:
{{ index .Site.Data .Title “tree” “branch” }}
If its an array:
{{ index .Site.Data .Title “array” 0 }}
Now I can do what I need, but im left wondering if there is any good practice for data driven sites with lots of different data points other than calling {{ index }} 60 times per page for 10,000 pages.