The title and penalty clause of every ordinance imposing any penalty, fine, imprisonment, or forfeiture for a violation of its provisions, after the final adoption of the ordinance, shall be published in one issue of the official newspaper of the city.