?> <?php echo site_name(); ?> . All rights reserved.</small> <ul role="navigation"> <li><a href="<?php echo rss_url(); ?> ">RSS</a></li> <?php if (twitter_account()) { ?> <li><a href="<?php echo twitter_url(); ?> ">@<?php echo twitter_account(); ?> </a></li> <?php } ?> <li><a href="/" title="Return to my website.">Home</a></li> </ul> </footer> </div> </div>
public function getTwitterUrlAttribute() { return empty($this->twitter) ? null : twitter_url($this->twitter); }