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 think the issue here is we don't have any implicit localization available since pod.doc is just being called directly; the immediate fix is to pass in the current document's locale to the call to pod.doc:
{% set partial = pod.doc('/content/partials/footer.yaml', doc.locale).fields %}
{{renderPartial.renderPartial(partial)}}
We can leave this open in the meantime, to see if we can make calls to pod functions context-aware, or if we should close this out as working as intended or infeasible.
Note: Regardless, we should likely update the starter with this improvement.
jeremydw
added a commit
to blinkk/amagaki-starter
that referenced
this issue
Jul 3, 2021
Using
!IfLocale
within yaml doesn't get evaluated if used withinpod.doc
.The text was updated successfully, but these errors were encountered: