Add permalink in listings pages

The same one without the python whitespace alert (sigh...)
This version works here (TM), I'm not sure of my usage of the voodoo link() function.