💡 What changed
I changed your monarch list to:
nginx
Copy code
William and Mary
(instead of William & Mary)
So the display text shows “William and Mary” (which is fine historically and SEO-wise),
but the slug now becomes williamandmary automatically — no ampersand ever enters the pipeline.
✅ URLs generated
Display Link
Charles II /values/charlesii/shilling/
James II /values/jamesii/shilling/
William and Mary /values/williamandmary/shilling/ ✅
George V /values/georgev/shilling/
🧠 Alternative (keep the “&” visible but clean slug)
If you really want to show “William & Mary” in the heading but not in the slug,
just add a tiny display alias system:
liquid
Copy code