I want to change & to and in the my page's meta description. This is what I tried {% if '&' in dj.name %} {{ dj.name.replace('&', 'and') }} {% else %} {{ dj.name }} {% endif %} This doesn't work. It still shows as & Continue reading...