Text this: Hawking-Page and entanglement phase transition in 2d CFT on curved backgrounds