Working with a specific static site generator?
Customize CloudCannon's documentation to suit your SSG.
Great! We'll show you documentation relevant to .
You can change this any time using the dropdown in the navigation bar.
Customize content based on the location of the visitor.
CloudCannon Hosting automatically injects the viewer's country code into the HTML element's class as it is served.
You can enable geolocation in Site Settings / Hosting.
If a viewer is from New Zealand, the class
country-nz is added to look like this:
Use CSS to show and hide elements:
Here are the country codes supported: