This isn't a reliable way to generate URLs; need to use {url ...} (if I'm reading this correctly)