Thanks so much for the quick reply. So I tried to access (current-metas) from the pollen.rkt but I keep getting false. I tried creating a test meta with (define-meta ...) but it was not accessible and it wasn't visible on (current-metas). Tried running (select-from-metas) from pollen.rkt but metas was an unbound identifier. I'm sure I'm doing something wrong. I'll keep re-reading the documentation.
Thanks much for your help. On Thursday, March 28, 2019 at 11:21:27 AM UTC-4, Matthew Butterick wrote: > > > On Mar 28, 2019, at 6:23 AM, Ifeoluwapo Eleyinafe <[email protected] > <javascript:>> wrote: > > > I think I can pull from metas using 'here-path but I don't know how to > access metas from pollen.rkt. I can do so from the template file but then I > won't be able to use the data in my tag definitions. > > > Import `pollen/core` and use `current-metas`: > > > https://docs.racket-lang.org/pollen/Core.html?q=current-metas#%28def._%28%28lib._pollen%2Fcore..rkt%29._current-metas%29%29 > > <https://docs.racket-lang.org/pollen/Core.html?q=current-metas#(def._((lib._pollen/core..rkt)._current-metas))> > -- You received this message because you are subscribed to the Google Groups "Pollen" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
