Started vc integration in frontend
diff --git a/templates/search.html.ep b/templates/search.html.ep
index a0e26b6..20353d0 100644
--- a/templates/search.html.ep
+++ b/templates/search.html.ep
@@ -1,4 +1,5 @@
% layout 'main', title => loc('searchtitle', q => search->query, ql => search->query_language);
+% use Mojo::JSON 'encode_json';
<div class="resultinfo">
<div id="pagination"><%= pagination(search->start_page, search->total_pages, url_with->query(['p' => '{page}'])) =%></div>
@@ -16,6 +17,13 @@
% };
</div>
+% if (search->collection_jsonld) {
+%= javascript begin
+KorAP.currentVC = <%== encode_json search->collection_jsonld %>;
+% end
+% };
+
+
% if (search->total_results != 0 && search->results->size) {
<div id="search">
<ol class="align-left">