Skip to content

Commit

Permalink
Ability to deactivate footer-links
Browse files Browse the repository at this point in the history
  • Loading branch information
Thejuse committed Jun 26, 2019
1 parent e8a0a4c commit 02fc583
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions views/frontend/home.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,12 @@
<nav>
<ul>
<li><a href="https://github.com/Thejuse/scooterquotes/" rel="noopener noreferrer" title="Github"><i class="fab fa-github"></i> Github</a></li>
<li><a href="<?php echo SQ_DOMAIN;?>/api/json/" target="_blank" rel="noopener noreferrer" title="JSON API">JSON API</a></li>
<li><a href="<?php echo SQ_DOMAIN;?>/api/random/" target="_blank" rel="noopener noreferrer" title="Random API">Random API</a></li>
<?php if(SQ_ENABLE_JSON_API == 1): ?>
<li><a href="<?php echo SQ_DOMAIN;?>/api/json/" target="_blank" rel="noopener noreferrer" title="JSON API">JSON API</a></li>
<?php endif; ?>
<?php if(SQ_ENABLE_RANDOM_API == 1): ?>
<li><a href="<?php echo SQ_DOMAIN;?>/api/random/" target="_blank" rel="noopener noreferrer" title="Random API">Random API</a></li>
<?php endif; ?>
</ul>
</nav>
</div>
Expand Down

0 comments on commit 02fc583

Please sign in to comment.