# Wrong class names are returned by {{body\_class}}

**URL:** <https://forum.ghost.org/t/wrong-class-names-are-returned-by-body-class/9644>\
**Category:** Developer help\
**Created:** [October 22, 2019, 3:49pm UTC](https://forum.ghost.org/t/wrong-class-names-are-returned-by-body-class/9644 "2019-10-22T15:49:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robert\_Calin](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/robert_calin/32/1744_2.png) [@Robert\_Calin](https://forum.ghost.org/u/Robert_Calin)\
**Post date:** [October 22, 2019, 3:49pm UTC](https://forum.ghost.org/t/wrong-class-names-are-returned-by-body-class/9644/1 "2019-10-22T15:49:52Z")

</div>

Using latest version: 3.0.0

On pages {{body\_class}} returns `post-template` as class instead of `page-template`.

---

<div class="post-metadata">

**Author:** ![mskian](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/mskian/32/4973_2.png) [@mskian](https://forum.ghost.org/u/mskian)\
**Post date:** [October 22, 2019, 6:23pm UTC](https://forum.ghost.org/t/wrong-class-names-are-returned-by-body-class/9644/2 "2019-10-22T18:23:16Z")

</div>

me too noticed it

---

<div class="post-metadata">

**Author:** ![Robert\_Calin](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/robert_calin/32/1744_2.png) [@Robert\_Calin](https://forum.ghost.org/u/Robert_Calin)\
**Post date:** [October 23, 2019, 8:45am UTC](https://forum.ghost.org/t/wrong-class-names-are-returned-by-body-class/9644/3 "2019-10-23T08:45:52Z")

</div>

Will this get fixed? Or reported as bug at least? Last time I opened a ticket on github the gestapo scolded me.

---

<div class="post-metadata">

**Author:** ![DavidDarnes](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/daviddarnes/32/3533_2.png) [@DavidDarnes](https://forum.ghost.org/u/DavidDarnes)\
**Post date:** [October 23, 2019, 10:02am UTC](https://forum.ghost.org/t/wrong-class-names-are-returned-by-body-class/9644/4 "2019-10-23T10:02:54Z")

</div>

“gestapo” might be too strong of a word 😅. This does seem like a bug, would you mind raising it on GitHub? Thanks [Issues · TryGhost/Ghost · GitHub](https://github.com/tryghost/ghost/issues)

Update: Issue reported on GitHub

> <https://github.com/TryGhost/Ghost/issues/11262>
>
> On pages {{body\_class}} returns \`post-template\` as class instead of \`page-templa…te\`.
> 
> OS: Mac OS X, v10.15
> Node Version: v10.16.0
> Ghost-CLI Version: 1.12.0
> Ghost Version: 3.0.0

---

<div class="post-metadata">

**Author:** ![Robert\_Calin](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/robert_calin/32/1744_2.png) [@Robert\_Calin](https://forum.ghost.org/u/Robert_Calin)\
**Post date:** [October 23, 2019, 1:56pm UTC](https://forum.ghost.org/t/wrong-class-names-are-returned-by-body-class/9644/5 "2019-10-23T13:56:18Z")

</div>

Thanks for opening an issue. I just now managed to read your reply.

Don’t get me wrong, I have learned from previous experiences and I don’t like getting “burned” multiple times, once is enough.  
Maybe a change of policy would be welcome. Don’t understand why opening an issue is/was such a big problem. Isn’t the hole point of open source to contribute? Also I exaggerated to make a point. Big egos? Don’t like criticism? Dunno.

🙂
