diff --git a/lib/default-theme/Layout.vue b/lib/default-theme/Layout.vue index b7ee3d6e86..1119d8cf61 100644 --- a/lib/default-theme/Layout.vue +++ b/lib/default-theme/Layout.vue @@ -36,10 +36,11 @@ export default { shouldShowNavbar () { const { themeConfig } = this.$site return ( - this.$site.title || + this.$title || themeConfig.logo || themeConfig.repo || - themeConfig.nav + themeConfig.nav || + this.$themeLocaleConfig.nav ) }, shouldShowSidebar () {