From fab8b8078125fe4e548412ded129a853e96f89b7 Mon Sep 17 00:00:00 2001
From: kouralex <1723419+kouralex@users.noreply.github.com>
Date: Mon, 30 Nov 2020 11:20:04 +0200
Subject: [PATCH] add treatment for JSON-LD vocabulary data dump; fixes #1096
---
view/vocab-shared.twig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/view/vocab-shared.twig b/view/vocab-shared.twig
index d76841fbc..b3fe27f6f 100644
--- a/view/vocab-shared.twig
+++ b/view/vocab-shared.twig
@@ -63,6 +63,9 @@
{% if 'text/turtle' in vocab.config.dataURLs|keys %}
TURTLE
{% endif %}
+ {% if 'application/ld+json' in vocab.config.dataURLs|keys %}
+ JSON-LD
+ {% endif %}
{% if 'application/marcxml+xml' in vocab.config.dataURLs|keys %}
{% if vocab.config.dataURLs['application/marcxml+xml'] is iterable %}
{% for key, values in vocab.config.dataURLs['application/marcxml+xml'] %}