diff --git a/templates/artwork.html b/templates/artwork.html index 085a0a9..8e5f660 100644 --- a/templates/artwork.html +++ b/templates/artwork.html @@ -46,20 +46,32 @@ {% if artworkimages['results']['bindings']==[] %} {% else %} - {% for x in artworkimages['results']['bindings'] %} + {% for x in artworkimages['results']['bindings'] |reverse %} + {% if "image" in x %} + {% endif %} + + {% if "depictsLabel" in x %} + {{ x['depictsLabel']['value'] }} + {% endif %} + + {% if "licenseLabel" in x %} + {{ x['licenseLabel']['value'] }} + {% endif %} + {% endfor %} - {% endif %} + {% endif %} +
{{ x['role']['value'] }}
+Role {{ x['role']['value'] }}
DESCRIPTION
+ {% for x in artworkdescriptiondata['results']['bindings'] %}DESCRIPTION