foundation / foundation/panini

modifying render() to prevent recursion?

Open
#163 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
593
Forks
104
PR merge metrics
No merged PRs in 30d

Description

modification assistance request:
Are there any suggestions about how to modify panini.render() to
1. allow a page content template (page.html) to include itself i.e. {{> body}}
2. but prevent infinite recursive rendering.

right now, that will result in a render loop.

advice?

or, alternatively, a way to access the rendered body - the var page in render() or better yet, the partial 'body' - from other helpers?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.