diff --git a/codemeta/templates/softwaresourcecode.html b/codemeta/templates/softwaresourcecode.html
index aedac02..92c2f87 100644
--- a/codemeta/templates/softwaresourcecode.html
+++ b/codemeta/templates/softwaresourcecode.html
@@ -64,12 +64,17 @@
Screenshots
{% for url, res2 in get_triples(g, sscres, SDO.screenshot, SDO.url) %}
-
+ {% if g.value(res2, SDO.caption) %}
+
+ {% else %}
+
+ {% endif %}
{% endfor %}
{% endif %}
{% if g.value(sscres, CODEMETA.referencePublication) or g.value(sscres, SDO.citation) %}
+
References
diff --git a/codemeta/templates/targetproduct.html b/codemeta/templates/targetproduct.html
index 08c5270..1c6f5fe 100644
--- a/codemeta/templates/targetproduct.html
+++ b/codemeta/templates/targetproduct.html
@@ -44,6 +44,46 @@
{{ g.value(targetres, STYPE.executableName)
{% endif %}
+ {% if g.value(targetres, SDO.screenshot) %}
+ Screenshots
+
+
+ {% for url, res2 in get_triples(g, targetres, SDO.screenshot, SDO.url) %}
+ {% if g.value(res2, SDO.caption) %}
+
+ {% else %}
+
+ {% endif %}
+ {% endfor %}
+
+ {% endif %}
+
+ {% if g.value(targetres, CODEMETA.referencePublication) or g.value(targetres, SDO.citation) %}
+
+ References
+
+
+
+ {% for title, ref in get_triples(g, targetres, CODEMETA.referencePublication, contextgraph=contextgraph) %}
+ {% if ref %}
+ - {% include 'reference.html' %}
+ {% else %}
+ - {{ title }}
+ {% endif %}
+ {% endfor %}
+
+ {% for title, ref in get_triples(g, targetres, SDO.citation, contextgraph=contextgraph) %}
+ {% if ref %}
+ - {% include 'reference.html' %}
+ {% else %}
+ - {{ title }}
+ {% endif %}
+ {% endfor %}
+
+
+
+ {% endif %}
+