Dev

It should be {% if post %}. Spacing is important. There are similar mistakes in this template.