You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a way to build reusable (partial) templates with injected data.
Motivation
After looking around in example and fiddling around with a small project, I don't think this is a feature currently. Perhaps partials or sections could be extended to support this feature without having to introduce more concepts.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Suggestion
Add a way to build reusable (partial) templates with injected data.
Motivation
After looking around in
example
and fiddling around with a small project, I don't think this is a feature currently. Perhaps partials or sections could be extended to support this feature without having to introduce more concepts.Extending partials
This one makes the most sense to me.
Example partial
Example use
Extending sections
Feels a bit hacky, but makes sense to some extent.
Example section
Example use
Misc
Really loving this project! 😃
Beta Was this translation helpful? Give feedback.
All reactions