# Path: djangocms_blog/settings.py
# def get_setting(name):
#     """Get setting value from django settings with fallback to globals defaults."""
#     from django.conf import settings
# 
#     return getattr(settings, "BLOG_%s" % name, params["BLOG_%s" % name])


from cms.toolbar_base import CMSToolbar
from cms.toolbar_pool import toolbar_pool
from cms.utils.urlutils import admin_reverse
from django.urls import reverse
from django.utils.translation import gettext_lazy as _, override
from .settings import get_setting
                import djangocms_page_meta  # NOQA
                import djangocms_page_tags  # NOQA



@toolbar_pool.register
class BlogToolbar(CMSToolbar):
    def populate(self):

# Path: djangocms_blog/settings.py
# def get_setting(name):
#     """Get setting value from django settings with fallback to globals defaults."""
#     from django.conf import settings
# 
#     return getattr(settings, "BLOG_%s" % name, params["BLOG_%s" % name])


# Path: djangocms_blog/cms_toolbars.py
from cms.toolbar_base import CMSToolbar
from cms.toolbar_pool import toolbar_pool
from cms.utils.urlutils import admin_reverse
from django.urls import reverse
from django.utils.translation import gettext_lazy as _, override
from .settings import get_setting
                import djangocms_page_meta  # NOQA
                import djangocms_page_tags  # NOQA




@toolbar_pool.register
class BlogToolbar(CMSToolbar):
    def populate(self):

        if (