How can jekyll judge whether it is a page or a post?
Asked 2012-12-16T16:56:48.157
9
I want to add a class to the body tag using if sentence, if the page is a post then add page to the class if the page is a post then add post to it. I don't know in specific how to do this, can anyone help me figure it out?