create a new django custom tag to replace a substring in a global string