I found this interesting article a few days back from an old Boys Mechanics book.
Image 1 - The Post and Gate are Cut Away Back of the Hinge to Allow the Latter to Swing Back
In Image 1 we see at Point “A” the view of the gate looking down on it. Instead of the gate stopping hard when it is closed, we want it to swing both ways.
Do please note that the hinge we see “B” can be bent as we see at “C” and even bent around a pole as we see at “D”.
The Image at “C” has a piece cut out of the post.
The original idea was submitted by R. R. Schmitz, Birmingham, Ala, (1915) who wrote this: Ordinary hinges can be easily bent and so placed on posts that a gate can be swung in either direction. As shown in the illustration, hinges can be made to fit either round or square posts. The gate half of the hinge is fastened in the usual way. The post half is bent and so placed that the hinge pin will approximately be on a line between the centers of the posts. The gate and post should be beveled off to permit a full-open gateway.
When the gate is normally closed the edge of the wood would stop the gate swinging in the opposite direction, so cutting away some of the post, stops that, and allows the gate to swing both ways.
So there is an interesting way to get around this problem.
All the best from James M Sandbrook. 24th of November, 2021.