-
-
Notifications
You must be signed in to change notification settings - Fork 11k
Open
Labels
bug[triage] something behaving unexpectedly[triage] something behaving unexpectedlycommunity[triage] Community features and bugs[triage] Community features and bugs
Description
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
- I agree to be friendly and polite to people in this repository
Metadata
Metadata
Assignees
Labels
bug[triage] something behaving unexpectedly[triage] something behaving unexpectedlycommunity[triage] Community features and bugs[triage] Community features and bugs