belt and suspenders: check in template and in post target

found this via a new cli tool