Skip to content

Fix body class page output#11264

Merged
naz merged 2 commits into
TryGhost:masterfrom
naz:fix-body-class-page-output
Oct 23, 2019
Merged

Fix body class page output#11264
naz merged 2 commits into
TryGhost:masterfrom
naz:fix-body-class-page-output

Conversation

@naz
Copy link
Copy Markdown
Contributor

@naz naz commented Oct 23, 2019

ronseal

naz added 2 commits October 23, 2019 14:39
closes TryGhost#11262
refs TryGhost#10042

- Fixed issue where using {{body_class}} helper on a "page" type of a page was outputting `post-template` instead of `page-template`
- The issue was caused by this change TryGhost@7dc38e2#diff-c33149d31de747bc5fbefcaf7a44da79L67-L72
- Updated the comment to have real context of why this if is here
@naz naz merged commit 518f2cc into TryGhost:master Oct 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant