Repository navigation
Template kit 1.5.0: form placements
Added
- The
formsection: a placement (Home and About) that names a form the organisation built
in Forms through the Pages editor. The section storesformId,formInstanceIdand
formSlug; theformisland renders the instance the slug addresses with the respondent
fields, the questions, the privacy line and the submit. The island's styling API is the
renderer'sp60-form-*classes. The validator accepts the section or the island for the
formscapability; the preview renders the form fixture only for a matchingformSlug. - The starter ships
sections/form.liquidand declares the section and the island. - Content bounds record the 200-character plain-text biography limit on People sections.
Fixed
- The starter renders complete biographies with line breaks and wrapping instead of italics.
- Authored output escaping replaces NUL characters so a stored control character cannot
reach a rendered page.
Compatibility and release
Additive: the section catalogue, manifest schema (sectionPresentation and
sectionHeadingAlignment accept form, at most 17 entries) and the form island entry grow;
nothing existing changes. Templates that do not ship sections/form.liquid are unaffected: the
editor marks a placed form section not visible and the public page skips it. Publish through
the mirror's GitHub Release workflow after the matching platform release
(multi-tenant-services #329) is live.