link events to permalink