Half an hour by train from either Glasgow or Edinburgh sits Shotts, a small North Lanarkshire town that most travellers zoom past on the way to Scotland's big-hitter cities. That's their loss. This was once a place so proud of its output that "Shotts lights the world" became its slogan, thanks to the gas lamps it manufactured, and its ironworks churned out pig iron for nearly 150 years.

The industrial story is still written into the town's fabric. Shotts Ironworks dates to 1801, and its surviving furnace bank and hot blast tower hint at the scale of the operation — at its peak the works produced 75,000 tons of pig iron in a single year. A 19th-century church and a railway station hotel in suitably muted stone tones round out the historic streetscape.

The town's quirkiest landmark, though, mixes folklore with industry. Legend says a seven- to eight-foot-tall highwayman called Bertram de Shotts terrorised the area in the 14th century until local laird John Gilchrist claimed the bounty on his head. Today the "Shotts Giant" statue on the southern edge of town stands — fittingly — eight feet tall, depicting a workman in overalls pouring molten iron into a cauldron. It's a nod to both the medieval legend and the town's foundry heyday in one figure.

Shotts also honours its more recent history. Outside the public library stands a stone obelisk war memorial listing fallen servicemen from both world wars and the Korean War, each entry noting rank, regiment and decorations. Step inside the library and you'll find the Shotts Heritage Centre, with exhibits tracing local life back to the 17th century.

Practicalities are easy. Shotts sits around 23 miles east of Glasgow and just over 30 miles west of Edinburgh, with direct ScotRail trains from both cities — an anytime day single from Glasgow Central costs under £8, and under £10 from Edinburgh. If you'd rather stay over, the three-star Station Hotel by the railway station gets warm reviews for its staff and kitchen, which serves the likes of haggis bon bons, chicken liver parfait and salt and chilli prawns.

Shotts works well as a low-cost half-day or overnight detour for anyone interested in Scotland's industrial past, and it pairs neatly with other former mining communities on the same corridor — Whitburn, with its parks and local culture, or Newtongrange, where you can tour a mine with a 1,600-foot shaft. For travellers tired of queuing for Edinburgh Castle, towns like this show a grittier, more human side of Scottish history.