add "baseurl" variable.
handle baseurl for each version.
Merge pull request #75 from hansode/handle-baseurl

Handle baseurl