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:
parent
4b4faae009
commit
6709d97abc
|
@ -67,12 +67,14 @@ class CommonView(View):
|
||||||
'tailbone', 'main_image_url',
|
'tailbone', 'main_image_url',
|
||||||
default=self.request.static_url('tailbone:static/img/home_logo.png'))
|
default=self.request.static_url('tailbone:static/img/home_logo.png'))
|
||||||
|
|
||||||
|
use_buefy = self.get_use_buefy()
|
||||||
context = {
|
context = {
|
||||||
'image_url': image_url,
|
'image_url': image_url,
|
||||||
'use_buefy': self.get_use_buefy(),
|
'use_buefy': use_buefy,
|
||||||
'help_url': global_help_url(self.rattail_config),
|
'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:
|
if self.expose_quickie_search:
|
||||||
context['quickie'] = self.get_quickie_context()
|
context['quickie'] = self.get_quickie_context()
|
||||||
|
|
Loading…
Reference in a new issue