change test for cite/share links

Only show these links if we’re on a public page: the URI contains
either “handle” or “resource”