Gold is interesting because more of it was being mined and produced all the time. There wasn’t even a finite amount of gold.
Thinking that a gold standard means no inflation (or in practical terms, deflation as the population grows) is a modern fantasy.