Francisco Liriano hit his first career home run, helping the Pirates keep pace with the Dodgers in a slugfest on Saturday.