Skip to content

Commit

Permalink
added button top in conditional statement
Browse files Browse the repository at this point in the history
  • Loading branch information
kenlog committed Oct 17, 2018
1 parent 57de9b1 commit 3ed0eaa
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions Template/layout.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,11 @@
<?= $content_for_layout ?>
</section>
<?= $this->hook->render('template:layout:bottom') ?>
<div id="to-top">
<a href="#backToTop" id="backToTop" class="topshow">
<span><i class="fa fa-chevron-up" aria-hidden="true"></i></span>
</a>
</div>
<?php endif ?>

<div id="to-top">
<a href="#backToTop" id="backToTop" class="topshow">
<span><i class="fa fa-chevron-up" aria-hidden="true"></i></span>
</a>
</div>

</body>
</html>

0 comments on commit 3ed0eaa

Please sign in to comment.