Content has to be served depending on kind of page (single post or index), otherwise Liquid does not render highlighted code parts