adjusted renderContent() to use config array, made markdown previews on pages not render inserted views to improve speed