commit | 02df991ec14564274035c1dbb0d64bb0db406bdc | [log] [tgz] |
---|---|---|
author | Nils Diewald <nils@diewald-online.de> | Tue Jun 03 16:08:07 2014 +0000 |
committer | Nils Diewald <nils@diewald-online.de> | Tue Jun 03 16:08:07 2014 +0000 |
tree | c48ff0be763f29bd389ddc9f39f8ccc72126c2ff | |
parent | dd2d4e87354d72639a7cfae3addfeccc8231b639 [diff] [blame] |
Small changes to ease integration of further API nodes
diff --git a/templates/query.html.ep b/templates/query.html.ep new file mode 100644 index 0000000..5d09324 --- /dev/null +++ b/templates/query.html.ep
@@ -0,0 +1,8 @@ +% use JSON::XS; + +% if (stash('search.query')) { +<code><span>JSON-LD Query for <%= param 'q' %> (<%= param 'ql' %>)</span><pre> +% my $json = JSON::XS->new->pretty; +%= $json->encode(stash('search.query')) +</pre></span></code> +% }