And try it, if doesn’t perform well then return quickly. The one you linked to may also work but this one is smaller and if works well and you like it may be smaller for you and it uses PPS which is a more modern standard and based on USA prices is same cost possibly better.
Make sure you buy from Ankerdirect for excellent support.
This is not a direct answer to your question as LG has not documented what their USB-C input port will work with so it’s left to just guesswork. So my guess is the nearest Voltages to their barrel charger is most likely to work. The charger you linked to and the one I linked are both 65W and so both good guesses to what LG may support, but until someone who bought an LG Gram tries it, we can’t really know.