Fix post view permalink requirement

Avoid _format to be caught in the permalink variable
Merge pull request #106 from EmmanuelVella/patch-2

Fix post view permalink requirement