Fixed ref navigation, fixed links in template