fix: bad usage of permalink decorator