Add a special ##HOME## replacement to make it easier to produce portable templates.