[PATCH] fix broken links in static templates