nodebb-theme-harmony 1.2.76 → 1.2.77

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-theme-harmony",
3
- "version": "1.2.76",
3
+ "version": "1.2.77",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.7.0"
6
6
  },
@@ -1,6 +1,7 @@
1
- {{{ if (brand:logo || config.showSiteTitle)}}}
1
+ {{{ if (brand:logo || (config.showSiteTitle || widgets.brand-header.length)) }}}
2
2
  <div class="container-lg px-md-4 brand-container">
3
3
  <div class="col-12 d-flex border-bottom pb-3 {{{ if config.theme.centerHeaderElements }}}justify-content-center{{{ end }}}">
4
+ {{{ if (brand:logo || config.showSiteTitle) }}}
4
5
  <div component="brand/wrapper" class="d-flex align-items-center gap-3 p-2 rounded-1 align-content-stretch ">
5
6
  {{{ if brand:logo }}}
6
7
  <a component="brand/anchor" href="{{{ if brand:logo:url }}}{brand:logo:url}{{{ else }}}{relative_path}/{{{ end }}}" title="[[global:header.brand-logo]]">
@@ -14,6 +15,7 @@
14
15
  </a>
15
16
  {{{ end }}}
16
17
  </div>
18
+ {{{ end }}}
17
19
  {{{ if widgets.brand-header.length }}}
18
20
  <div data-widget-area="brand-header" class="flex-fill gap-3 p-2 align-self-center">
19
21
  {{{each widgets.brand-header}}}