https://peeterjoot.com/2022/06/17/progressing-towards-coordinate-free-form-of-the-euler-lagrange-equations-for-maxwells-equation/
Progressing towards coordinate free form of the Euler-Lagrange equations for Maxwell's equation