Commit 718fe73c authored by Mathias Goebel's avatar Mathias Goebel 🎠
Browse files

minor

parent 71e51250
......@@ -9,8 +9,10 @@ xquery version "3.1";
: @see https://fontane-nb.dariah.eu/register.html
:)
module namespace f-indexproc="http://fontane-nb.dariah.eu/indexproc";
import module namespace f-misc="http://fontane-nb.dariah.eu/ns/SADE/misc" at "misc.xqm";
import module namespace code="http://bdn-edition.de/ns/code-view";
import module namespace config="http://textgrid.de/ns/SADE/config" at "../config/config.xqm";
import module namespace f-misc="http://fontane-nb.dariah.eu/ns/SADE/misc" at "misc.xqm";
declare namespace foaf="http://xmlns.com/foaf/0.1/";
declare namespace gndo="http://d-nb.info/standards/elementset/gnd#";
......@@ -514,9 +516,9 @@ element xhtml:li {
attribute class {"registerCode"},
<xhtml:i title="Zeige XML" class="fa fa-code"></xhtml:i>
},
if(config:get("SADE.develop") = "true")
if(config:get("sade.develop") = "true")
then code:main($node)
else code-view:main($node, false(), "hljs-", true())
else code:main($node, false(), "hljs-", true())
}
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment