The following block of code generating the language dropdown box is essentially duplicated in article.html. Consider refactoring it out to make things more DRY.