nitdoc: move Piwik tracker out of html footer
authorAlexandre Terrasa <alexandre@moz-code.org>
Wed, 19 Feb 2014 20:33:21 +0000 (15:33 -0500)
committerAlexandre Terrasa <alexandre@moz-code.org>
Wed, 19 Feb 2014 20:36:02 +0000 (15:36 -0500)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

src/nitdoc.nit

index f8bb81c..0c2aaad 100644 (file)
@@ -328,6 +328,8 @@ abstract class NitdocPage
                if ctx.opt_custom_footer_text.value != null then footed = "footed"
                append("<div class='page {footed}'>")
                content
+               append("</div>")
+               footer
 
                # piwik tracking
                var tracker_url = ctx.opt_piwik_tracker.value
@@ -348,8 +350,6 @@ abstract class NitdocPage
                        append(" </script>")
                        append("<!-- End Piwik Code -->")
                end
-               append("</div>")
-               footer
                append("</body>")
        end