# \[post.hbs\] post doesn't match if - 7:3

**URL:** <https://forum.ghost.org/t/post-hbs-post-doesnt-match-if-7-3/29833>\
**Category:** Self-hosting\
**Created:** [April 28, 2022, 2:23pm UTC](https://forum.ghost.org/t/post-hbs-post-doesnt-match-if-7-3/29833 "2022-04-28T14:23:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ivan\_Kursakov](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/ivan_kursakov/32/17547_2.png) [@Ivan\_Kursakov](https://forum.ghost.org/u/Ivan_Kursakov)\
**Post date:** [April 28, 2022, 2:23pm UTC](https://forum.ghost.org/t/post-hbs-post-doesnt-match-if-7-3/29833/1 "2022-04-28T14:23:41Z")

</div>

Good day to all!  
Help, please, I have encountered a problem that after publishing a post, it appears on the main page, but when I try to go to the post page, a 500 error appears [post.hbs] post doesn’t match if - 7:3. I work at [http://localhost/](http://localhost/)

---

<div class="post-metadata">

**Author:** ![TheRoyalFig](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/theroyalfig/32/27771_2.png) [@TheRoyalFig](https://forum.ghost.org/u/TheRoyalFig)\
**Post date:** [April 28, 2022, 2:26pm UTC](https://forum.ghost.org/t/post-hbs-post-doesnt-match-if-7-3/29833/2 "2022-04-28T14:26:12Z")

</div>

This means that there’s an error in your `post.hbs` template: take a look at line 7 and see if you have any Handlebars tags `{{#}}` that aren’t formatted correctly or aren’t closed.
