How to use it on base.html