There is only one way to “make” money with gold ... lease it to others. Gold still buys the same things that it bought hundreds / thousands of years ago. The currency ratio to gold may change. It may take more dollars or euros to buy an ounce of gold but if you factor it backwards, how much gold is a loaf of bread or a house or whatever, you will find that through out history, the price of goods relative to gold has remained the same.
If inflation causes gold to “go up” ... what you are really seeing is the value of the currency “going down”.
The price of gold relative to other commodities has changed continually throughout history. It is impossible for it not to have changed particularly since the ratios between the other commodities are not constants. Technological changes in the production processes guarantees changes in those ratios and in the value of gold/metals.