Add tagline

Add tagline and change some of the style.
This commit is contained in:
Danang Probo Sayekti 2014-01-13 14:25:51 +07:00
commit bd20002549
8 changed files with 15 additions and 20 deletions

View file

@ -302,7 +302,7 @@ aside{
padding-top: 65px;
}
aside .description p{
aside .blog-tagline p{
font-size: 14px;
margin-bottom: 1.2em;
color:#787878;
@ -375,12 +375,10 @@ aside .copyright p{
font-family: 'Open Sans Condensed',sans-serif;
width:100%;
float:left;
margin-bottom: 1em;
}
.related ul {
margin-top:0;
margin-bottom: 1em;
margin:0;
}
/*----------------------------
@ -652,7 +650,7 @@ aside .copyright p{
text-align: center;
}
aside .description{
aside .blog-tagline{
margin-bottom: 25px;
}
@ -758,4 +756,4 @@ aside .copyright p{
width: 100%;
}
}
}

View file

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title><?php echo isset($title) ? _h($title) : config('blog.title') ?></title>
<title><?php echo $title; ?></title>
<link href='<?php echo site_url() ?>favicon.ico' rel='icon' type='image/x-icon'/>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
@ -23,7 +23,7 @@
</div>
<aside>
<h1 class="blog-title"><a href="<?php echo site_url() ?>"><?php echo config('blog.title') ?></a></h1>
<div class="description"><p><?php echo config('blog.description')?></p></div>
<div class="blog-tagline"><p><?php echo config('blog.tagline')?></p></div>
<div class="search">
<?php echo search() ?>
</div>

View file

@ -27,6 +27,7 @@
</div>
</div>
<?php endif;?>
<?php if ($type == 'blogpost'):?><?php echo get_related($p->tag)?><?php endif;?>
<div class="comments border">
<?php if ($type == 'blogpost'):?>
<?php if (disqus(null, null) == true):?>
@ -34,7 +35,6 @@
<?php endif;?>
<?php endif;?>
</div>
<?php if ($type == 'blogpost'):?><?php echo get_related($p->tag)?><?php endif;?>
<?php if ($type == 'blogpost'):?>
<div class="postnav">
<?php if (!empty($next)):?>