Commit 34a26cd6 authored by Mathias Goebel's avatar Mathias Goebel 🎠
Browse files

call new index function

parent 946db69f
......@@ -73,7 +73,7 @@ declare function local:showAuth($node as node(), $model as map(*), $id as xs:str
case 'ueberblickskommentar' return
try {fontaneUeberblickskommentar:render($docpath)}
catch * { <error>Caught error {$err:code}: <br/> {$err:description}. <br/> Data: <br/> {$err:value} </error> }
case 'register' return fontaneregister:register($docpath)
case 'register' return fontaneregister:register()
default return mviewer:renderFontane($node, $model, $docpath)
<div class="container FontaneAuth">
......@@ -427,5 +427,5 @@ declare function mviewer:registerT($node as node(), $model as map(*), $id as xs:
let $data-dir := config:get('data-dir')
let $docpath := $data-dir || '/' || $id
fontaneregister:register( $docpath )
Supports Markdown
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