Fix Tweet button.

Since we set `layout: default` in post.html, the previous layout check was always false.