Add slug field (unique) to the template schema