Clean up indexFunc with changes to post_manager

Fix the default language []string declaration
Add the language select base template to base_assets.go
Post manager needed to be changed so that there was only one call to
it in the index Func