bludit/bl-themes/blogme/php/sidebar.php

41 lines
1.3 KiB
PHP
Raw Normal View History

2016-01-22 05:26:00 +01:00
<!-- Intro -->
<section id="intro">
<header>
<h2><?php echo $Site->title() ?></h2>
2016-01-31 00:01:04 +01:00
<p><?php echo $Site->slogan() ?></p>
2016-01-22 05:26:00 +01:00
</header>
</section>
<?php Theme::plugins('siteSidebar') ?>
<!-- Footer -->
<section id="footer">
2016-01-22 16:48:26 +01:00
<ul class="icons">
2016-02-14 22:53:37 +01:00
<?php
if(trim($Site->twitter())) {
echo '<li><a href="'.$Site->twitter().'" class="fa-twitter"><span class="label">Twitter</span></a></li>';
}
2016-01-22 16:48:26 +01:00
2016-02-14 22:53:37 +01:00
if($Site->facebook()) {
echo '<li><a href="'.$Site->facebook().'" class="fa-facebook"><span class="label">Facebook</span></a></li>';
}
if($Site->instagram()) {
echo '<li><a href="'.$Site->instagram().'" class="fa-instagram"><span class="label">Instagram</span></a></li>';
}
if($Site->github()) {
echo '<li><a href="'.$Site->github().'" class="fa-github"><span class="label">Github</span></a></li>';
}
if( $plugins['all']['pluginRSS']->installed() ) {
echo '<li><a href="'.DOMAIN_BASE.'rss.xml'.'" class="fa-rss"><span class="label">RSS</span></a></li>';
}
if( $plugins['all']['pluginSitemap']->installed() ) {
echo '<li><a href="'.DOMAIN_BASE.'sitemap.xml'.'" class="fa-sitemap"><span class="label">Sitemap</span></a></li>';
}
?>
2016-01-22 16:48:26 +01:00
</ul>
2016-01-22 05:26:00 +01:00
<p class="copyright"><?php echo $Site->footer() ?> | <a href="http://www.bludit.com">Bludit</a></p>
</section>