PennyDreadfulMTG / Penny-Dreadful-Tools

A suite of tools for the Penny Dreadful MTGO community
https://pennydreadfulmagic.com
MIT License
41 stars 28 forks source link

Slugs and canonical URLs #1566

Open bakert opened 7 years ago

bakert commented 7 years ago

(1) Decide if the slug or the id is the canonical url. (2) Put a <link rel="canonical" href="{full external url}"> in the <head> when not on the canonical url. (3) Generalize slugs so that everything with a name has them. Probably. (4) Is it feasible to link to slugified urls from everywhere we need to generate links? If we have the id we can get the name, right? How would that work with non-unique namespaces like deck names?

bakert commented 7 years ago

Including for leagues as /2017/july/ or /2017-july/, etc.