SJRK-52: Let templates refer to other templates

Metadata

Source
SJRK-52
Type
Improvement
Priority
Blocker
Status
Open
Resolution
N/A
Assignee
Gregor Moss
Reporter
Gregor Moss
Created
2018-02-13T16:30:24.216-0500
Updated
2019-08-13T11:32:04.616-0400
Versions
N/A
Fixed Versions
N/A
Component
N/A

Description

Implement template management such that a handlebars template may include references to other, nested templates, ad infinitum. This may require use of the server-specific features in gpii.handlebars and not only gpii.handlebars.renderer.standalone.

E.g.

  • "Index template" has a reference to the editor template
    • editor template refers to block templates

The aim being to make the markup DRYer

Comments

  • Gregor Moss commented 2018-04-02T17:15:02.027-0400

    repeated content is enclosed within the comments "<

    " and "< -->

    -- repeated markup end -->"