It's been said, but Leliana's Song is very much a prequel, however it's best to actually know her personal quest details prior to going into it-turns out Leliana is a tiny bit of an unreliable narrator as well, although why she glossed over/tweaked some of the 'events' in the main game is perfectly understandable.