Rewrite links in a staging directory, instead of directly in the source.
Add a real deploy target.