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
I tried to use the partial modifier, but there are several issues:
The docs page mentions themes, that are outdated since v3.
It does not work. I need to pass key-value-pairs of an array as variables to a partial. But the partial does not load – neither hard-coded nor dynamic.
This is my use-case (page_builder/_article.antlers.html from Peak starter, a Bard field):
Found a thread about the same topic in Discord, if that adds helpful context.
I think the issue here is that the partial modifier assumes the partials in a resources/partials sub-directory – other than the partial tag, which resolves the path relative to the resources/views directory.
So this issue needs a fix both from the docs and cms side of Statamic, I think.
I tried to use the partial modifier, but there are several issues:
This is my use-case (
page_builder/_article.antlers.html
from Peak starter, a Bard field):I am on Statamic 5.23.0 by the way.
Docs page: https://statamic.dev/modifiers/partial
The text was updated successfully, but these errors were encountered: