Fixed repeated tag bug in post template