feat(templates): parameterise 13 templates with {{key}} placeholders#77
Open
walliai666 wants to merge 1 commit into
Open
feat(templates): parameterise 13 templates with {{key}} placeholders#77walliai666 wants to merge 1 commit into
walliai666 wants to merge 1 commit into
Conversation
Replace hardcoded copy in frame-bold-poster, frame-bold-signal,
frame-build-minimal, frame-creative-voltage, frame-data-chart-nyt,
frame-electric-studio, frame-glitch-title, frame-light-leak-cinema,
frame-liquid-bg-hero, frame-logo-outro, frame-pentagram-stat,
frame-takram-organic, and vfx-text-cursor with {{key}} tokens so
agents can inject dynamic content at render time. Array/object values
(headline lines, nav items, chart series) are driven by inline <script>
blocks reading window.__HV_VARS__.
adapter-hyperframes: substitute {{key}} tokens before injecting
__HV_VARS__ so both mechanisms work side-by-side; arrays/objects are
serialised as JSON, strings inserted verbatim.
studio-server: fill {{key}} tokens from the template's first example
entry in both the single-template preview and gallery iframe routes,
so previews render real content instead of raw token strings.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replace hardcoded copy in frame-bold-poster, frame-bold-signal, frame-build-minimal, frame-creative-voltage, frame-data-chart-nyt, frame-electric-studio, frame-glitch-title, frame-light-leak-cinema, frame-liquid-bg-hero, frame-logo-outro, frame-pentagram-stat, frame-takram-organic, and vfx-text-cursor with {{key}} tokens so agents can inject dynamic content at render time. Array/object values (headline lines, nav items, chart series) are driven by inline <script> blocks reading window.HV_VARS.
adapter-hyperframes: substitute {{key}} tokens before injecting HV_VARS so both mechanisms work side-by-side; arrays/objects are serialised as JSON, strings inserted verbatim.
studio-server: fill {{key}} tokens from the template's first example entry in both the single-template preview and gallery iframe routes, so previews render real content instead of raw token strings.
Resolves #73