You might get a 3 second condolence hug from me at a funeral...if I’ve known you all my life.
Been through several funerals in the last week (including my mother-in-law).
Firm handshake with possibly a second hand on the back of the arm for very close male friends.