Loading plugins/content/content.cpp +4 −4 Changes for plugins/content/content.cpp: 4 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -205,8 +205,8 @@ namespace blogi { } canon.setAttribute("rel","canonical"); canon.setAttribute("href",href.str()); if(page->getElementbyTag("header")) page->getElementbyTag("header")->appendChild(canon); if(page->getElementbyTag("head")) page->getElementbyTag("head")->appendChild(canon); Args->theme->printSite(tid,out,page,curreq.getRequestURL(),Args->auth->isLoggedIn(tid,curreq,sessionid),meta.c_str()); Loading Loading @@ -267,8 +267,8 @@ namespace blogi { href << Args->config->getsiteurl() << "/content/read/" << cid; canon.setAttribute("rel","canonical"); canon.setAttribute("href",href.str()); if(page.getElementbyTag("header")) page.getElementbyTag("header")->appendChild(canon); if(page.getElementbyTag("head")) page.getElementbyTag("head")->appendChild(canon); Args->theme->printSite(tid,out,&page,curreq.getRequestURL(),Args->auth->isLoggedIn(tid,curreq,sessionid)); Loading plugins/staticpage/static.cpp +2 −2 Changes for plugins/staticpage/static.cpp: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -394,8 +394,8 @@ bool blogi::StaticPage::Controller(const int tid,libhttppp::HttpRequest &req,lib href << Args->config->getsiteurl() << "/staticpage/" << res[0][0]; canon.setAttribute("rel","canonical"); canon.setAttribute("href",href.str()); if(page->getElementbyTag("header")) page->getElementbyTag("header")->appendChild(canon); if(page->getElementbyTag("head")) page->getElementbyTag("head")->appendChild(canon); Args->theme->printSite(tid,out,page,req.getRequestURL(),Args->auth->isLoggedIn(tid,req,sessionid),res[0][2]); Loading Loading
plugins/content/content.cpp +4 −4 Changes for plugins/content/content.cpp: 4 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -205,8 +205,8 @@ namespace blogi { } canon.setAttribute("rel","canonical"); canon.setAttribute("href",href.str()); if(page->getElementbyTag("header")) page->getElementbyTag("header")->appendChild(canon); if(page->getElementbyTag("head")) page->getElementbyTag("head")->appendChild(canon); Args->theme->printSite(tid,out,page,curreq.getRequestURL(),Args->auth->isLoggedIn(tid,curreq,sessionid),meta.c_str()); Loading Loading @@ -267,8 +267,8 @@ namespace blogi { href << Args->config->getsiteurl() << "/content/read/" << cid; canon.setAttribute("rel","canonical"); canon.setAttribute("href",href.str()); if(page.getElementbyTag("header")) page.getElementbyTag("header")->appendChild(canon); if(page.getElementbyTag("head")) page.getElementbyTag("head")->appendChild(canon); Args->theme->printSite(tid,out,&page,curreq.getRequestURL(),Args->auth->isLoggedIn(tid,curreq,sessionid)); Loading
plugins/staticpage/static.cpp +2 −2 Changes for plugins/staticpage/static.cpp: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -394,8 +394,8 @@ bool blogi::StaticPage::Controller(const int tid,libhttppp::HttpRequest &req,lib href << Args->config->getsiteurl() << "/staticpage/" << res[0][0]; canon.setAttribute("rel","canonical"); canon.setAttribute("href",href.str()); if(page->getElementbyTag("header")) page->getElementbyTag("header")->appendChild(canon); if(page->getElementbyTag("head")) page->getElementbyTag("head")->appendChild(canon); Args->theme->printSite(tid,out,page,req.getRequestURL(),Args->auth->isLoggedIn(tid,req,sessionid),res[0][2]); Loading