moccu / barbeque

Collection of tiny helpers and tools to make live easier.
BSD 3-Clause "New" or "Revised" License
6 stars 2 forks source link

Template-Tag `hashed_staticfile` #10

Closed schorfES closed 6 years ago

schorfES commented 8 years ago

We need the templatetag {% hashed_staticfile 'path/to/static/file.css' %} to get the path to a staticfile including cachebuster.

schorfES commented 6 years ago

@stephrdev isn't this already solved by: https://github.com/moccu/barbeque/blob/master/barbeque/templatetags/barbeque_tags.py#L57-L62 ?