diff --git a/templates/catalog.html b/templates/catalog.html index 5b55e59..47c64e9 100644 --- a/templates/catalog.html +++ b/templates/catalog.html @@ -1,45 +1,49 @@ {% extends "base.html" %} +{% macro item_detail(entity) %} + {% for key, prop_label in labels.items() %} + {% set claims = entity.claims[key] %} + {% if claims %} +
- view on Wikidata -
++ view on Wikidata +
- {% for key, prop_label in labels.items() %} - {% set claims = item.entity['claims'][key] %} - {% if claims %} -