modify index.html to show dynamic color for posts under different categories