fixed static links in index and detail html templates