Render GeoJSON with Built-in Hugo Shortcode

Dec 20, 2018 geojson meta

Can we use Hugo’s built-in shortcodes to render a map from GeoJSON?

Hugo has a built-in shortcode to render gists and GitHub will show any GeoJSON saved as a gist as a map. So, let’s give it a go:

It works!

Some relevant links: