We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On a single page, @page.show_title_and_feature_image is set for the page object, and can be used in logic.
However, if retrieving page content with a #get request, there seems to be no way to get that setting.
In home.hbs: {{#get "pages" filter="slug:new-test" limit="1" }} {{#if pages}} {{#foreach pages}} {{log @page.show_title_and_feature_image}} {{/foreach}} {{/get}}
Logging always shows undefined. (Attempts to check the value also fail - it is false (really unset) for any setting of the new-test page.)
5.119.2
20
local
SQLite3
N/A
Logging 'this' or the page object (within foreach) does not show the show_title_and_feature_image option there either.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Issue Summary
On a single page, @page.show_title_and_feature_image is set for the page object, and can be used in logic.
However, if retrieving page content with a #get request, there seems to be no way to get that setting.
Steps to Reproduce
In home.hbs:
{{#get "pages" filter="slug:new-test" limit="1" }}
{{#if pages}}
{{#foreach pages}}
{{log @page.show_title_and_feature_image}}
{{/foreach}}
{{/get}}
Logging always shows undefined. (Attempts to check the value also fail - it is false (really unset) for any setting of the new-test page.)
Ghost Version
5.119.2
Node.js Version
20
How did you install Ghost?
local
Database type
SQLite3
Browser & OS version
N/A
Relevant log / error output
Logging 'this' or the page object (within foreach) does not show the show_title_and_feature_image option there either.
Code of Conduct
The text was updated successfully, but these errors were encountered: