Sfoglia il codice sorgente

fix: logo and banner were not visible in sub pages

master
Dom SP 3 anni fa
parent
commit
c4119f39f3
2 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. +2
    -2
      app/views/header.htm
  2. +2
    -2
      app/views/header2.htm

+ 2
- 2
app/views/header.htm Vedi 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 Vedi 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…
Annulla
Salva