This repository has been archived on 2023-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
Omphaloskepsis/sidebar.php

27 lines
1 KiB
PHP
Raw Normal View History

2018-03-21 18:19:20 +00:00
<?php
/**
2021-01-09 11:13:06 +00:00
* The template for the sidebar.
*
* @package Omphaloskepsis
2021-01-09 11:13:06 +00:00
* @since Omphaloskepsis 1.0
*/
2018-03-21 18:19:20 +00:00
?>
<nav class="col-2" id="sidebar">
<ul id="sidebar-list">
<li <?php echo 'blog' === $wp->request ? 'class="current"' : ''; ?>>
2018-03-21 18:19:20 +00:00
<a href="/blog">Blog</a>
<a href="/feed"><i class="fa fa-rss"></i></a>
2021-01-09 11:13:06 +00:00
</li>
<li><p>~</p></li>
<li <?php echo 'website' === $wp->request ? 'class="current"' : ''; ?>><a href="/website">Websites</a></li>
<li <?php echo 'program' === $wp->request ? 'class="current"' : ''; ?>><a href="/program">Programs</a></li>
<li <?php echo 'writing' === $wp->request ? 'class="current"' : ''; ?>><a href="/writing">Writings</a></li>
<li <?php echo 'video' === $wp->request ? 'class="current"' : ''; ?>><a href="/video">Videos</a></li>
<li <?php echo 'other' === $wp->request ? 'class="current"' : ''; ?>><a href="/other">Other</a></li>
2021-01-09 11:13:06 +00:00
<li><p>~</p></li>
<li <?php echo 'experience' === $wp->request ? 'class="current"' : ''; ?>><a href="/experience">Experience (by organisation)</a></li>
2018-03-21 18:19:20 +00:00
</ul>
</nav>