veekun / spline-pokedex

heart and soul of veekun's pokédex
http://bugs.veekun.com/projects/spline-pokedex
MIT License
14 stars 7 forks source link

Move url & icon helpers to dexlib #117

Open magical opened 6 years ago

magical commented 6 years ago

To help with #115, we want to move the url and icon helper functions — pokemon_url, type_icon, make_thingy_url, etc — from the helpers module to dexlib (templates/pokedex/lib.mako), where they'll have access to the template context variables.

magical commented 6 years ago

Started on this. As expected, it causes a lot of little problems that are a pain in the ass to fix.