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
The handlebars template engine provides an internal, special partial called @partial-block, that can be used when calling a partial in "block style".
Instead of calling the partial regularly like {{> my-partial}}, it can be called in block form like
{{#>my-partial}}
some fallback text
{{}/my-partial}
Inside the partial, the content passed inside the block can then be accessed using the special partial {{@partial-block}}. The feature itself works like expected inside of a ghost theme, the usage gets however reported as a theme error, specifically as "{{@partial-block}} is not a known global". This should not be the case.
Issue Summary
The handlebars template engine provides an internal, special partial called
@partial-block
, that can be used when calling a partial in "block style".Instead of calling the partial regularly like
{{> my-partial}}
, it can be called in block form likeInside the partial, the content passed inside the block can then be accessed using the special partial
{{@partial-block}}
. The feature itself works like expected inside of a ghost theme, the usage gets however reported as a theme error, specifically as "{{@partial-block}}
is not a known global". This should not be the case.Steps to Reproduce
in a theme.
Ghost Version
5.75.1
Node.js Version
18.19.0
How did you install Ghost?
docker
Database type
MySQL 5.7
Browser & OS version
No response
Relevant log / error output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: