For the life of me I cannot figure out how to do a fairly simple task. I have a homepage that I want to show the content of the latest note from a list. I’ve tried many different iterations of include, value, collect and I cannot seem to get it. The content never appears. I’ll do something like:
^include(collect(children(/Recipes Raw), $Text).first)^
I think in general I’m having a hard time figuring out code that manipulates lists of notes. I understand collect, but I’m looking for the code that operates on notes rather than attributes of notes.
@mwra This is actually my first pass at the Tinderbox Cookbook that we discussed in the previous meetup. I’ve attached it to this post. Please let me know if you have any ideas about structure. (the images will be missing since I have not included them). Specifically, in this file, I was hoping to have the first note from Recipes Raw included in index (next to the navigation list).
TBX Cookbook.tbx (151.5 KB)