itsthejoker / filamentcolors.xyz

The source code for a small website to compare pieces of printed filament.
MIT License
59 stars 5 forks source link

Add ability to use slugs for the urls in addition to the canonical urls #91

Closed itsthejoker closed 1 week ago

itsthejoker commented 2 months ago

Right now, /library/color_family/GRY/ is the url for the Grey color family, but it should also accept /library/color_family/gray/ and /library/color_family/grey/ for example.

Manufacturer urls should be similar: /library/manufacturer/bambu_lab/ or /library/manufacturer/printed_solid/

Should the swatch urls also be updated? Not sure.

itsthejoker commented 2 months ago

Color family work completed here: https://github.com/itsthejoker/filamentcolors.xyz/commit/9e2b0b0107e589ab3d1bb9ac3c311b512461116e