Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For us the big win is branded sites. We have a white labeled product that is customizable for each client. No code deploys needed to add a new client. Values live in a db table and get pulled in dynamically based on the url subdomain.


Honestly curious, couldn’t you achieve something similar with style sheets, where you determine what .css file to serve based on the subdomain?


Yes, and using CSS Custom Properties/the var() function you can even keep that branding file as small as said table. Could even build it dynamically, if one wanted.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: