Support generating inline partial blocks in a list
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 2.9k
- Forks
- 461
- PR merge metrics
- No merged PRs in 30d
Description
Child template
{>base_template/}
{#loop}
{<"var_{$idx}"}
{/"var_{$idx}"}
{/loop}
Base template
{#anotherloop}
{+"var_{$idx}"}
{#anotherloop}
for instance looping a list of items and each iteration of the item in a child template creates a different inline partial block ,
so this means a array.list of inline partial blocks can be created as we iterated.
Once created, we can reference the indexed inline partial block in the base template
is this good?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the child and base template examples and the proposed inline partial block syntax. Clarify how blocks created during list iteration should be named, stored, and referenced from the base template; the issue does not identify files, tests, or an implementation entry point.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100