Templating navigation elements