only show cite/share links if public

(this replaces #601)

Changed test to only show these links if URI contains “handle” or
“resource”