makes use of tilemap.url tilemap.options.attribution etc. but the these variables names have changed since this blog was posted, but i'm sure many are still looking to it as a guide. The new variable names have 'map' prepended as documented here
The below code works while the example code in the above blog does not and will result in head bashing.
map.tilemap.url: "https://maps.tilehosting.com/styles/topo/{z}/{x}/{y}.png?key=<APIKEY>"
map.tilemap.options.attribution: "© [OpenMapTiles](http://www.openmaptiles.org/)|© [OpenStreetMap contributors](http://www.openstreetmap.org/copyright)"
map.tilemap.options.maxZoom: 18