[SITE] show title image (if it exists)
This commit is contained in:
parent
75d1ead187
commit
3b5f107466
|
@ -41,9 +41,11 @@ if ($page->depth() == 1) {
|
|||
|
||||
<header class="section">
|
||||
<div class="container">
|
||||
<?php if ($img = $site->images()->find($site->title_image())) : ?>
|
||||
<a class="logo" href="<?php echo url() ?>">
|
||||
<img src="" alt="Logo">
|
||||
<img src="<?php echo $site->title_image()->url() ?>" alt="Logo">
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
|
||||
<nav>
|
||||
<button class="navbar-toggler hidden-sm-up" type="button" data-toggle="collapse" data-target="#exCollapsingNavbar">
|
||||
|
|
Loading…
Reference in a new issue