Improve theme

Improve theme
This commit is contained in:
Danang Probo Sayekti 2014-02-10 12:01:24 +07:00
commit b62f013588
10 changed files with 22 additions and 19 deletions

View file

@ -1346,6 +1346,13 @@ function blog_copyright() {
return config('blog.copyright');
}
// Return author info
function authorinfo($title=null, $body=null) {
if (config('author.info') == 'true') {
return '<div class="author-info"><h4>by <strong>' . $title . '</strong></h4>' . $body . '</div>';
}
}
function head_contents($title, $description, $canonical) {
$output = '';
$title = '<title>' . $title . '</title>';