Commit 2ec7c777 authored by jan.koester's avatar jan.koester
Browse files

test

parent 4799498e
Loading
Loading
Loading
Loading
+5 −1
Changes for src/blogi.cpp: 5 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -2233,8 +2233,12 @@ RETRY_REQUEST:
                        }
                    }

                    // Run plugin Rendering() for all plugins (navbar, gtm, template, etc.)
                    // Run plugin Rendering() for UI-only plugins (navbar, gtm, etc.)
                    // Skip canPublish plugins (template, content, staticpage) — they would
                    // inject their own content into main, duplicating the editor HTML.
                    for(const blogi::Plugin::PluginData *curplg=BlogiPlg->getFirstPlugin(); curplg; curplg=curplg->getNextPlg()){
                        if(curplg->getInstace()->canPublish())
                            continue;
                        try {
                            if(mobile)
                                curplg->getInstace()->Rendering(tid,curreq,&index,RenderingType::Mobile,"");
+1 −1
Changes for src/theme.cpp: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -506,7 +506,7 @@ void blogi::Theme::printSite(const int tid,libhtmlpp::HtmlString &output,libhtml
        footerancor << "</div>";

        if(footernav)
            footernav->appendChild(footerancor.parse());
            footernav->insertChild(footerancor.parse());

        // Inject theme color CSS variables into <head>
        injectThemeColors(tid, index);