A Hugo-powered travel guide with interactive maps, starting with Koh Samui.
Live site: https://alx.github.io/travel-guide/
Locations are stored in static/koh-samui/locations.geojson as GeoJSON features.
- Open the Koh Samui page
- Click + Add a location in the sidebar
- Fill in the name, category, and coordinates (paste a Google Maps URL to auto-extract coordinates)
- Copy the generated JSON from the output box
Paste the copied JSON into static/koh-samui/locations.geojson inside the "features" array:
{
"type": "Feature",
"properties": {
"name": "My Place",
"category": "Restaurant",
"address": "123 Beach Road, Lamai, Koh Samui",
"notes": "Great pad thai, open from 11am–10pm"
},
"geometry": {
"type": "Point",
"coordinates": [100.0529, 9.4747]
}
}Coordinates format: [longitude, latitude] (GeoJSON standard)
Available categories: Beach, Restaurant, Activity, Hotel, Shopping, Kids, Other
- Open Google Maps and find the location
- Click the location — the URL will contain
@lat,lng,zoom - Or paste the Google Maps URL into the "Add a location" modal — it extracts coordinates automatically
# Install Hugo (v0.147.0+)
# https://gohugo.io/installation/
# Run local dev server
hugo server --buildDrafts
# Build for production
hugo --minifyPushes to main automatically deploy via GitHub Actions to GitHub Pages.
- Fork the repo
- Add your locations to
static/koh-samui/locations.geojson - Open a pull request
All contributions welcome — especially local tips, hidden gems, and family-friendly spots.