Update links in layout template