Bugfix for hidden post

I used the method described by Robertof: https://github.com/nerdzeu/nerdz-template-black/commit/06ca46626aac0a54fd79e198cad4d3a23b8d9c93