Correct usage of {{#author}} is being marked as deprecated - GS001-DEPR-AUTHBL #19681
Open
1 task done
Labels
needs:triage
[triage] this needs to be triaged by the Ghost team
stale
[triage] Issues that were closed to to lack of traction
Issue Summary
When foregoing author.hbs and using {{#author}} in index.hbs I'm getting an error about this approach being deprecated. Neither of the recommended approaches work, however:
{{ log primary_author }}
and{{ log authors }}
return undefined within that context.Expectation: Seeing as
index.hbs
is defined as fallback forauthor.hbs
in the documentation, I would expect this to be a legal usage of the tag.Suggestion: adjust the deprecation warning on both
gscan
andghost run -D
Issue: This is preventing me from confidently publishing my theme as the installation contains errors and hampers the user flow.
Steps to Reproduce
The code will work but both gscan and ghost-cli would throw a GS001-DEPR-AUTHBL
Ghost Version
5.79.0
Node.js Version
v18.12.1
How did you install Ghost?
ghost-cli local install
Database type
SQLite3
Browser & OS version
No response
Relevant log / error output
Code of Conduct
The text was updated successfully, but these errors were encountered: