removing app.locals.links (wrong scoping no longer needed)