如何使自定义标题链接在页面未找到时可见

The custom links work in other pages, I want them to work even in pages not found.