Add permalink hash (fixes #7)