{% import "ajaxMacros.twig" as ajax %} {{ ajax.LoadingDiv('ajaxLoadingSEO') }}
{% if ranks is empty %} {{ 'General_Error'|translate }} {% else %} {% set cleanUrl %} {{ urlToRank }} {% endset %} {{ 'SEO_SEORankingsFor'|translate(cleanUrl)|raw }} {% for rank in ranks %} {% set seoLink %}{% if rank.logo_link is not empty %}{% endif %}{% endset %} {% endfor %}
{% if rank.logo_link is not empty %}{{ seoLink|raw }}{% endif %}{{ rank.label }}{% if rank.logo_link is not empty %}{% endif %} {{ rank.label|raw }}
{% if rank.logo_link is not empty %}{{ seoLink|raw }}{% endif %} {% if rank.rank %}{{ rank.rank|raw }}{% else %}-{% endif %} {{ rank.rank_suffix }} {% if rank.logo_link is not empty %}{% endif %}
{% endif %}