b a b y d a d d y b f f

A photo posted by Bristol Palin (@bsmp2) on

Still on good terms! Bristol Palin posed for a sweet photo with her former fiancé Dakota Meyer and their 5-month-old daughter, Sailor Grace, on Thursday, May 26.

The exes and their little girl appeared to be on a hike when they took the selfie. "b a b y d a d d y b f f," Palin, 25, captioned the Instagram photo.

As previously reported, the Dancing With the Stars alum and Meyer called off their wedding one year ago, just two weeks before their Memorial Day Weekend ceremony. Palin gave birth to Sailor in December 2015. (Palin is also mom to son Tripp, 8, with ex-fiancé Levi Johnston.)

Palin and Marine Meyer have come a long way since their ugly split. Back in February, the exes reached a joint custody agreement for Sailor. She currently shares Tripp with Johnston.

"Every child deserves two loving parents, so I will continue to encourage that no matter what. I have never, and will never, keep them from having a positive relationship with their fathers," Palin told Us Weekly in a statement. "I did not 'lose' any custody case — my son has always spent most of his time with me and he will continue to do so, he is happy, healthy, and knows both of his parents love him. Matthew 5:11."

Can't get enough of Us? Sign up now for the Us Weekly newsletter packed with the latest celeb news, hot pics and more!