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

@@ -1,10 +1,19 @@
<check if="{{ @banner }}">
<header>
<check if="{{ @logo }}">
<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>
<false>
<h1>{{ @title }}</h1>
</false>
</false>
</check>

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

<check if="{{ @subTitle }}">
@@ -17,3 +26,4 @@
<span class="headerInfo2">{{ @headerInfo2 }}</span>
</div>
</check>
</header>

Loading…
Cancel
Save