Browse Source

use logo on h1 instead of banner

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

+ 13
- 3
app/views/header.htm View File

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

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


<check if="{{ @subTitle }}"> <check if="{{ @subTitle }}">
<span class="headerInfo2">{{ @headerInfo2 }}</span> <span class="headerInfo2">{{ @headerInfo2 }}</span>
</div> </div>
</check> </check>
</header>

Loading…
Cancel
Save