Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Differential Build as function of entry URL?

Quote Reply
Differential Build as function of entry URL?
Here's an interesting little problem:

Is there a way to differentially build a particular template based on what domain name the user is coming from?

E.g.
if coming from abc.com show home_abc.html
if coming from xyz.com show home_xyz.html

Both would be LSQL templates.

Basically, since you can't create static pages at runtime for different domains, is there essentially a way to do a SINGLE build and that single build generates two pages, home_abc.html and home_xyz.html instead of building just one page?