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