Rename @custom.site_logo_in_main_navigation

This commit is contained in:
Sodbileg Gansukh 2022-05-20 18:23:22 +08:00
parent 1076078f8b
commit a0cedfe23e
3 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@
{{ghost_head}}
</head>
<body class="{{body_class}}{{#match @custom.title_font "=" "Elegant serif"}} has-serif-title{{/match}}{{#match @custom.body_font "=" "Modern sans-serif"}} has-sans-body{{/match}}{{#if @custom.show_publication_cover}} has-cover-image{{/if}}{{#is "home"}}{{#unless @custom.site_logo_in_main_navigation}} no-logo{{/unless}}{{/is}}">
<body class="{{body_class}}{{#match @custom.title_font "=" "Elegant serif"}} has-serif-title{{/match}}{{#match @custom.body_font "=" "Modern sans-serif"}} has-sans-body{{/match}}{{#if @custom.show_publication_cover}} has-cover-image{{/if}}{{#is "home"}}{{#unless @custom.show_logo_in_navigation}} no-logo{{/unless}}{{/is}}">
<div class="viewport">
<header id="gh-head" class="gh-head outer">

View File

@ -22,7 +22,7 @@ into the {body} of the default.hbs template --}}
{{#match @custom.header_style "!=" "Hidden"}}
<div class="site-header-inner inner">
{{#unless @custom.site_logo_in_main_navigation}}
{{#unless @custom.show_logo_in_navigation}}
{{#if @site.logo}}
<img class="site-logo" src="{{@site.logo}}" alt="{{@site.title}}">
{{else}}

View File

@ -120,7 +120,7 @@
"default": "Center aligned",
"group": "homepage"
},
"site_logo_in_main_navigation": {
"show_logo_in_navigation": {
"type": "boolean",
"default": false,
"group": "homepage"