diff options
| author | 阔落 <45323514+BigCoke233@users.noreply.github.com> | 2019-03-30 15:30:52 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-30 15:30:52 +0800 |
| commit | 9ae13dfa011baab12843b6855c2e9a4d6ca92075 (patch) | |
| tree | 07399ca9dfed868bc74a4ace8bc14e11d31e364d /includes/header.php | |
| parent | d5ff633699d665803d400551dc66c14ec480bb5f (diff) | |
Add files via upload
Diffstat (limited to 'includes/header.php')
| -rw-r--r-- | includes/header.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/includes/header.php b/includes/header.php index f9a06d0..f5c530c 100644 --- a/includes/header.php +++ b/includes/header.php @@ -26,10 +26,21 @@ </div>
</nav>
+ <!-- 首页大图 -->
+ <?php if($this->options->lgimg_url && $this->options->lgimg_url!='') :?>
+ <div class="jumbotron" style="background:url('<?php $this->options->lgimg_url(); ?>');background-size:cover;background-repeat:no-repeat;">
+ <h1><?php $this->options->IndexName(); ?></h1>
+ <p><?php $this->options->IndexDecoration(); ?></p>
+ </div>
+ <?php endif; ?>
+
+ <?php if($this->options->lgimg_url && $this->options->lgimg_url='') :?>
<br />
<br />
<br />
<br />
+ <?php endif; ?>
<br />
+
<!-- 能偷懒不写样式为什么不用br? -->
</header>
\ No newline at end of file |
