Only show node title in home page header, for buefy themes

it's just redundant for the old jquery theme
This commit is contained in:
Lance Edgar 2020-09-20 19:57:27 -05:00
parent 4b4faae009
commit 6709d97abc

View file

@ -67,12 +67,14 @@ class CommonView(View):
'tailbone', 'main_image_url',
default=self.request.static_url('tailbone:static/img/home_logo.png'))
use_buefy = self.get_use_buefy()
context = {
'image_url': image_url,
'use_buefy': self.get_use_buefy(),
'use_buefy': use_buefy,
'help_url': global_help_url(self.rattail_config),
'index_title': self.rattail_config.node_title(),
}
if use_buefy:
context['index_title'] = self.rattail_config.node_title()
if self.expose_quickie_search:
context['quickie'] = self.get_quickie_context()