Updating to get the correct site url

The context object didn't contain the site url so just replacing strings
on the current url to construct the path to the linked article url in
the layouts folder.
Site Url was not being passed correctly

When setting the web.config the site url was not retrieved using the
environment variable. Corrected the problem as found in HPDev
environment.