Not really smaller towns. Olomouc is the 6th largest city in czechia and it has the smallest network in the country. Sure, there used to be many smaller cities having trams too, but they were mostly canceled in the communist era in favor of buses or trolleybuses.