Updated output to fix navbar with depth of 1

Allow navbar's to be set with a depth of 1. Currently the dropdown classes, caret, and # are all set regardless of the depth (if the depth is 1, then there are no dropdown items to show, so link should work and caret should be hidden).