Browse Source

fix: logo and banner were not visible in sub pages

master
Dom SP 3 years ago
parent
commit
c4119f39f3
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      app/views/header.htm
  2. +2
    -2
      app/views/header2.htm

+ 2
- 2
app/views/header.htm View File

@@ -2,7 +2,7 @@
<check if="{{ @logo }}">
<true>
<a href="{{ @SITE_URL }}/"><h1>
<img src="{{ @logo }}" alt="{{ @title }}" />
<img src="/{{ @logo }}" alt="{{ @title }}" />
</h1></a>
</true>
<false>
@@ -12,7 +12,7 @@

<check if="{{ @banner }}">
<true>
<div id="site-banner"><img src="{{ @banner }}" alt="{{ @subTitle }}" /></div>
<div id="site-banner"><img src="/{{ @banner }}" alt="{{ @subTitle }}" /></div>
</true>
</check>


+ 2
- 2
app/views/header2.htm View File

@@ -2,7 +2,7 @@
<check if="{{ @logo }}">
<true>
<a href="{{ @SITE_URL }}/"><h1>
<img src="{{ @logo }}" alt="{{ @title }}" />
<img src="/{{ @logo }}" alt="{{ @title }}" />
</h1></a>
</true>
<false>
@@ -24,6 +24,6 @@

<check if="{{ @banner }}">
<true>
<div id="site-banner"><img src="{{ @banner }}" alt="{{ @subTitle }}" /></div>
<div id="site-banner"><img src="/{{ @banner }}" alt="{{ @subTitle }}" /></div>
</true>
</check>

Loading…
Cancel
Save