Beiträge zum Thema “ghost”
04. April 2014
Exclude posts from your Ghost frontpage
Today I tried to exclude posts tagged wod from my frontpage. The blogging software Ghost that I am using to run this blog recently released v0.4.2 which supports the new #has helper.
Unfortunately the new helper is not documented, so after reading some of the discussions on the pull requests and the issues I just tried to code the necessary part in my index.hbs file:
{{! Don't output posts tagged 'wod' on frontpage }} {{#has tag="wod"}} {{else}} <OUTPUT POST AS USUAL> {{/has}} Now all posts tagged wod were excluded from the listing on my frontpage.