use relative url for links in tags layout

(cherry picked from commit e4c78eaf0aac4cb7c62cefc1e278995d903686bd)