{% for url in urls %} {% if url.loc|replace({hostName:''}) == url.loc %}{{ hostName }}{{ url.loc }}{% else %}{{ url.loc }}{% endif %} {{url.priority}} {% endfor %}