Fix markup for profile page

Fix markup for profile page.
This commit is contained in:
Danang Probo Sayekti 2014-02-13 10:46:02 +07:00
commit 557f99c18d
5 changed files with 27 additions and 12 deletions

View file

@ -271,6 +271,7 @@ ul li, ol li{
font-family: 'Open Sans',sans-serif;
font-size:15px;
text-shadow: 0 1px 0 #ffffff;
padding-bottom:7px;
}
#menu {
@ -287,7 +288,7 @@ ul li, ol li{
#menu ul li {
padding: 0 10px;
float: left;
margin:0 0 7px 0;
margin:0;
}
#menu ul li.first {
@ -367,7 +368,7 @@ ul li, ol li{
-webkit-transition:all .218s ease-in;
transition:all .218s ease-in;
cursor:pointer;
height:22px;
height:23px;
padding: 0 3px;
}

View file

@ -1,7 +1,9 @@
<?php if (!empty($breadcrumb)):?><div class="breadcrumb"><?php echo $breadcrumb ?></div><?php endif;?>
<div class="profile" itemtype="http://schema.org/Person" itemscope="itemscope" itemprop="Person">
<h1 class="title-post" itemprop="name"><?php echo $name ?></h1>
<div class="bio" itemprop="description"><?php echo $bio ?></div>
<div class="profile-wrapper" itemprop="accountablePerson" itemscope="itemscope">
<div class="profile" itemtype="http://schema.org/Person" itemscope="itemscope" itemprop="Person">
<h1 class="title-post" itemprop="name"><?php echo $name ?></h1>
<div class="bio" itemprop="description"><?php echo $bio ?></div>
</div>
</div>
<h2 class="post-index">Posts by this author</h2>
<?php if(!empty($posts)) {?>