Hi,
I’m encountering a Handlebars syntax error when using the social_url
helper as documented in the Social Links documentation.
Issue Description
When I add this code to my author.hbs
:
{{#if twitter}}
<a href="{{social_url type="twitter"}}">Twitter</a>
{{/if}}
I receive this error from Ghost Gscan CLI:
Template must contain valid Handlebars
Environment
- Ghost Version: 5.0+ (specified in package.json)
- Theme engine requirement:
"engines": {
"ghost": ">=5.0.0"
}
Expected Behavior
The documented syntax should work per:
{{#author}}
{{#if threads}}<a href="{{social_url type="threads"}}">Threads</a>{{/if}}
{{/author}}
What i’m missing?
Thanks for your help!