Teoscar Hernández drove his 25th homer of the season to center field, bringing the Los Angeles Dodgers within two of the Philadelphia Phillies.