add encoded url to layout homepage button