You won't be able to edit pages If you break the permissions inheritance of "Site Pages" library and have unique permissions even though you are a site owner.
Correcting permissions of the Site Pages library will help you.
Do not forget to leave a thumbs up if this helped