fix #561 for links without sublinks in bootstrap nav

links without sublinks shouldn't have dropdown class
closes #561
Merge pull request #571 from Jimmi08/bootstrap-navigation-

fix #561 for links without sublinks in bootstrap nav