Separated header code for DB and Discuss so that the search box is only added in the DB.