浏览代码

fix: logo and banner were not visible in sub pages

master
Dom SP 4 年前
父节点
当前提交
c4119f39f3
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. +2
    -2
      app/views/header.htm
  2. +2
    -2
      app/views/header2.htm

+ 2
- 2
app/views/header.htm 查看文件

<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 查看文件

<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>

正在加载...
取消
保存