Case study · Draft
Rebuilding a hiking blog like a product.
HK Treks ran on WordPress and a page builder for eight years. It worked, until it didn’t: slow pages, broken photos and a design that buried the photographs. This is how we rebuilt it: what we set out to do, what we decided, and what it cost.
Goals
- Photography first. The images are the point; everything else gets out of their way.
- Navigable by place. Readers think in mountains, not dates. The map is the front door.
- Useful on the trail. Stats, access notes and routes that are quick to find on a phone with one bar.
- Zero breakage. Every old link keeps working.
- Cheap and boring to run. No plugins to update, no server to babysit.
Three directions, one site
Contour
Home and map. Topographic paper, ink and contour brown; type like map labels.
Ascent
Inside each report. A stats bar, and a rail where the route draws in as you read.
Light Table
The gallery. Near-black; the room tints to each photograph; camera details from the originals.
Decisions and trade-offs
DecisionWhyWhat it costs
Static site (Astro) instead of WordPress + ElementorA trip report changes rarely and is read often. Pre-rendered pages are fast, cheap to host and have nothing to patch.No admin dashboard: posts are Markdown files in Git. Fine for a two-person blog.
Keep every old URL exactly (/YYYY/MM/DD/slug/)Years of search traffic and shared links point at those addresses. Breaking them is the most expensive mistake a migration can make.Slightly unusual routing, and one legacy slug ending in -2 kept as is.
Open map data, no API keysOpenStreetMap vector tiles from OpenFreeMap and open terrain tiles for hillshade and contours. No account, no billing surprises, nothing to rotate.Free services carry no SLA; the style can point at a paid provider in one line if it ever matters.
Contours computed from real terrain, not drawnThe topographic look is the brand. Every contour sheet on the site is generated from elevation data for that trip’s area at build time.A build step and ~100 KB of cached SVG per trip.
Reading position = position on the routeThe elevation profile beside each report is also its scrollbar: you climb as you read, and photo pins light up as you pass them.The mapping is approximate between day boundaries: honest at the day level, interpolated within it.
Stats from the author, ≈ when computedWhere the original post states distance or gain, that number wins. Where it doesn’t, the site computes it from the track and marks it ≈.Recorded tracks are sometimes incomplete (Bridge River’s covers 45 of ~71 km), so the two can differ.
Ship four complete reports firstRelease 1 is the whole design on the four posts with every photo intact, so the experience can be judged on real content rather than placeholders.18 reports wait for Release 2; their missing photos are being recovered from phone and cloud libraries.
Numbers
Measured from the production build on 2026-11-29. Field performance (Core Web Vitals) will be added once the site has real traffic.
- Pages
- 29
- Photos in reports
- 212
- Image files generated
- 2015
- JS on a trip report
- 3 KB
- JS on the homepage (map loads on scroll)
- 2 KB
- HTML + CSS, trip report
- 136 KB
Release plan
- Release 1 · nowThe full design with four complete reports, on a private preview. The live site is untouched.
- Release 2The other 18 reports’ text moves over; photos follow as they’re recovered and matched by capture time.
- Release 3 · launchEvery old URL exists or redirects, then the domain moves.