move navbar and social widgets to external template