Fix links in home and post view templates