local db setting, add auto aligning for articles, test for main layout.