Introduce `add_nav_link` and refactoring
Directly output HTML from pipes