From 6709d97abcac6093b1529174a7b35806a32c2493 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Sun, 20 Sep 2020 19:57:27 -0500 Subject: [PATCH] Only show node title in home page header, for buefy themes it's just redundant for the old jquery theme --- tailbone/views/common.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tailbone/views/common.py b/tailbone/views/common.py index 09525140..2535f1d7 100644 --- a/tailbone/views/common.py +++ b/tailbone/views/common.py @@ -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()