make require work in template files #71

Closed
opened 9 years ago by mbutterick · 3 comments
mbutterick commented 9 years ago (Migrated from github.com)

Perhaps as simple as just mapping it to local-require?

Perhaps as simple as just mapping it to `local-require`?
mbutterick commented 9 years ago (Migrated from github.com)

Probably OK because the template essentially forms the entire body of the evaluated file. There is nothing "outside" it, rather, doc and metas and here are injected into it.

Probably OK because the template essentially forms the entire body of the evaluated file. There is nothing "outside" it, rather, `doc` and `metas` and `here` are injected into it.
mbutterick commented 9 years ago (Migrated from github.com)

OTOH eval still relies on the template code sitting at the top level, not within a submodule

OTOH `eval` still relies on the template code sitting at the top level, not within a submodule
mbutterick commented 9 years ago (Migrated from github.com)

Not as simple as it looks.

Not as simple as it looks.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mbutterick/pollen#71
Loading…
There is no content yet.