Store template context on data attributes in static HTML, allowing metadata to be retrieved/updated post-render.