Geo-Ip Question

howdy, anyone have any ideas on how to implement some geo-driven content without using javascript in hugo site?

an example would be something like having some content elements of a static site differ based on the visitor’s IP. So if someone comes in from the UK, they would get a specific block of content, if they come in from France, there would be a different set of contents within the same block. It’s quite straight forward getting this content via js, but I would rather avoid making unnecessary requests if i can prebuild something

Sounds more like an issue related to server configuration.

Static in static site creator means, that the website is created before the serverside is involved. So no, Hugo can’t solve your issue. Javascript could and with Javascript Hugo could. But as @sephore said, it’s a server thing.

Should you come around to using Javascript, then have a look at