This is an automated email from the ASF dual-hosted git repository. dill0wn pushed a commit to branch dw/8421 in repository https://gitbox.apache.org/repos/asf/allura.git
commit bf4e4c9a08fbf782c13c1f05e59e4f4868fbac72 Author: Dillon Walls <[email protected]> AuthorDate: Wed Mar 23 14:30:04 2022 +0000 fixup! [#8421] SEO - omit /blogs/ from sitemap if no posts --- ForgeBlog/forgeblog/main.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/ForgeBlog/forgeblog/main.py b/ForgeBlog/forgeblog/main.py index 246e99e..40d474f 100644 --- a/ForgeBlog/forgeblog/main.py +++ b/ForgeBlog/forgeblog/main.py @@ -167,9 +167,6 @@ class ForgeBlogApp(Application): return self.main_menu() def should_noindex(self): - if not has_access(self, 'read'): - return True - post = BM.BlogPost.query.get( app_config_id=self.config._id, state='published',
