Commit c4ee9ec4 authored by Jerome Chauveau's avatar Jerome Chauveau
Browse files

un seul footer par défaut.

parent 0f4ad869
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -70,8 +70,6 @@ declare variable $max.cons:EDITION_ROUTE_TOC_FUNC := "getRouteTOC";
(:Edition's Footer path:)
declare variable $max.cons:EDITION_FOOTER_PATH := "fragments/footer.frag.html";

(:Edition's Copyright Footer path:)
declare variable $max.cons:EDITION_COPYRIGHT_FOOTER_PATH := "fragments/copyright_footer.frag.html";

(:Default XSL for alignment - automatically executed on aligned routes :)
declare variable $max.cons:ALIGNMENT_XSL := "alignment.xsl";
 No newline at end of file
+0 −14
Original line number Diff line number Diff line
@@ -56,7 +56,6 @@ declare function max.html:render(
                    'textOptions' : $textOptions,
                    'head' : $head,
                    'content' : $wrapped,
(:                    'copyright' : max.html:getCopyrightFooter($projectId),:)
                    'jsImports' : $jsImports,
                    'data' : max.config:getProjectData($projectId)
                    })
@@ -253,19 +252,6 @@ declare function max.html:getFooter($project){
    }
};

(:builds and returns default MaX HTML copyright footer:)
(:declare function max.html:getCopyrightFooter($project){:)
(:    try {:)
(:        let $copyrightFooterPath := max.util:maxHome() || "/editions/" || $project || "/" || $max.cons:EDITION_COPYRIGHT_FOOTER_PATH:)
(:        let $content := fetch:xml($copyrightFooterPath, map {'chop' : false()}):)
(:        return $content:)
(:    }:)
(:    catch * {:)
(:        <footer>:)
(:          Réalisé avec <a href="https://git.unicaen.fr/pdn-certic/MaX" target="_blank">MaX</a> © 2020 Université de Caen Normandie:)
(:        </footer>:)
(:    }:)
(:};:)


(:get text navigation bar for a specific route:)