otherjoel / beeswax

🐝🧇 Prototype template #lang for Pollen
Other
11 stars 0 forks source link

Initialization of `current-pagetree` and `current-metas` does not match Pollen behavior #13

Closed otherjoel closed 3 years ago

otherjoel commented 3 years ago

The current-pagetree parameter is always #false in a Beeswax template unless manually set. This should match Pollen’s behavior, which is to initialize it to either the result of (setup:main-pagetree) if it exists, or to an automatic pagetree.

See example gist in #12 by @benknoble.