{% if baseurl and buildsite %} {% endif %} {% if res and (res, SDO.name, None) in g %} {{ g.value(res, SDO.name) }} {% elif res and (res, SKOS.prefLabel, None) in g %} {{ g.value(res, SKOS.prefLabel) }} {% elif res and (res, RDFS.label, None) in g %} {{ g.value(res, RDFS.label) }} {% elif title %} {{ title }} {% elif buildsite %} Tool Index {% endif %} {% if css %} {% for css_file in css %} {% if css_file.startswith("http") %} {% else %} {% endif %} {% endfor %} {% endif %} {% if res %} {% if baseuri and buildsite %} {% endif %} {% if (res, SDO.name, None) in g %} {% elif (res, SKOS.prefLabel, None) in g %} {% elif (res, RDFS.label, None) in g %} {% endif %} {% if (res, SDO.description, None) in g %} {% endif %} {% if (res, SDO.author, None) in g %} {% endif %} {% if g.value(res, SDO.thumbnailUrl) %} {% endif %} {% if (res, SDO.keywords, None) in g %} {% endif %} {% endif %} {% if buildsite %} {% endif %}