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

<check if="{{ @logo }}"> <check if="{{ @logo }}">
<true> <true>
<a href="{{ @SITE_URL }}/"><h1> <a href="{{ @SITE_URL }}/"><h1>
<img src="{{ @logo }}" alt="{{ @title }}" />
<img src="/{{ @logo }}" alt="{{ @title }}" />
</h1></a> </h1></a>
</true> </true>
<false> <false>


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



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

<check if="{{ @logo }}"> <check if="{{ @logo }}">
<true> <true>
<a href="{{ @SITE_URL }}/"><h1> <a href="{{ @SITE_URL }}/"><h1>
<img src="{{ @logo }}" alt="{{ @title }}" />
<img src="/{{ @logo }}" alt="{{ @title }}" />
</h1></a> </h1></a>
</true> </true>
<false> <false>


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

Loading…
Cancel
Save