Skip to content

Commit

Permalink
fix: show navbar in more conditions (close #170)
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Apr 20, 2018
1 parent c83b951 commit 748fa7f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/default-theme/Layout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down

0 comments on commit 748fa7f

Please sign in to comment.