Skip to content

Commit

Permalink
Try a fix for the current page nav item
Browse files Browse the repository at this point in the history
  • Loading branch information
yellowled committed Oct 1, 2016
1 parent 6bb61e4 commit bf78482
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions homepage/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,13 @@
<li><a href="http://docs.s9y.org/docs/">Docs</a></li>
<li><a href="http://blog.s9y.org">Blog</a></li>
<li><a href="http://board.s9y.org">Forums</a></li>
<?php if (($_REQUEST['mode']) == 'template_all') { ?>
<li><a href="index.php">Plugins</a></li>
<li id="current-page"><a href="index.php?mode=template_all">Themes</a></li>
<?php } else { ?>
<li id="current-page"><a href="index.php">Plugins</a></li>
<li><a href="index.php?mode=template_all">Themes</a></li>
<?php } ?>
<li><a href="https://github.com/s9y">GitHub</a></li>
</ul>
</div>
Expand Down

0 comments on commit bf78482

Please sign in to comment.