diff --git a/pollen/private/ts.rktd b/pollen/private/ts.rktd index 509cc36..ba7a26b 100644 --- a/pollen/private/ts.rktd +++ b/pollen/private/ts.rktd @@ -1 +1 @@ -1553393594 +1553784193 diff --git a/pollen/scribblings/core.scrbl b/pollen/scribblings/core.scrbl index 257ba00..235aed1 100644 --- a/pollen/scribblings/core.scrbl +++ b/pollen/scribblings/core.scrbl @@ -159,7 +159,7 @@ Note that if @racket[_meta-source] is a relative path or pagenode, it is treated @section[#:tag "core"]{Parameters} -@defparam[current-metas hash (or/c #f hash?) #:value #f] +@defparam[current-metas val (or/c #f hash?) #:value #f] Holds the @racket[metas] of the current Pollen source. In tag functions, rather than pass @racket[metas] as an argument, you can refer to @racket[(current-metas)] within the body of the function. Likewise, if your tag function calls other tag functions, they can all invoke @racket[(current-metas)] instead of passing the value around. @racket[(current-metas)] will also work in templates, holding the @racket[metas] of the source currently being rendered into the template.