CDN setup in templates