Fix bug in post index links