dimanche 21 août 2016

Best way to swap out content of a website based on URL

I want to create multiple versions of a javascript site and am trying to figure out what the best way to do it is. I will have about 3 versions that have the same structure but different text and assets depending on the URL.

So if people go to www.mywebsite.com displays a generic site but www.mywebsite.com/business displays different content and assets. I have heard of templating sites, is something like Thymeleaf the best way to approach this?

Aucun commentaire:

Enregistrer un commentaire