refactored template tags in order to add a ``short url`` filter