mirror of
https://github.com/danpros/htmly.git
synced 2026-04-20 12:36:23 +05:30
Clean up the themes
This commit is contained in:
parent
c8552f3c37
commit
fb6fac0af1
24 changed files with 61 additions and 43 deletions
|
|
@ -211,16 +211,16 @@ h6 {
|
|||
text-decoration: none;
|
||||
}
|
||||
|
||||
.infront .post, .intag .post, .inarchive .post, .insearch .post, .inprofile .post {
|
||||
.in-front .post, .in-tag .post, .in-archive .post, .in-search .post, .in-profile .post {
|
||||
border-bottom: 1px solid #dfdfdf;
|
||||
padding: 30px 0 10px 0;
|
||||
}
|
||||
|
||||
.infront .post.first {
|
||||
.in-front .post.first {
|
||||
padding-top: 50px;
|
||||
}
|
||||
|
||||
.intag .post.first, .inarchive .post.first, .insearch .post.first, .inprofile .post.first {
|
||||
.in-tag .post.first, .in-archive .post.first, .in-search .post.first, .in-profile .post.first {
|
||||
padding-top: 0px;
|
||||
}
|
||||
|
||||
|
|
@ -831,7 +831,7 @@ aside .copyright p {
|
|||
padding-top: 0px;
|
||||
}
|
||||
|
||||
.infront .post, .intag .post, .inarchive .post, .insearch .post {
|
||||
.in-front .post, .in-tag .post, .in-archive .post, .in-search .post {
|
||||
padding: 30px 0 20px 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -35,7 +35,16 @@
|
|||
<div class="recent"><h3><?php echo i18n('Recent_posts');?></h3><?php echo recent_posts() ?></div>
|
||||
<div class="archive"><h3><?php echo i18n('Archives');?></h3><?php echo archive_list() ?></div>
|
||||
<div class="category-list"><h3><?php echo i18n('Category');?></h3><?php echo category_list() ?></div>
|
||||
<div class="tagcloud"><h3>Tags</h3><?php echo tag_cloud() ?></div>
|
||||
<div class="tagcloud">
|
||||
<h3>Tags</h3>
|
||||
<?php $i = 1; $tags = tag_cloud(true); arsort($tags); ?>
|
||||
<ul>
|
||||
<?php foreach ($tags as $tag => $count):?>
|
||||
<li><a href="<?php echo site_url();?>tag/<?php echo $tag;?>"><?php echo tag_i18n($tag);?> (<?php echo $count;?>)</a></li>
|
||||
<?php if ($i++ >= 5) break;?>
|
||||
<?php endforeach;?>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="copyright"><?php echo copyright() ?></div>
|
||||
</aside>
|
||||
<section id="content">
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
<h2 class="title-index" itemprop="name"><a href="<?php echo $p->url ?>"><?php echo $p->title ?></a></h2>
|
||||
<?php } ?>
|
||||
<div class="date">
|
||||
<span itemprop="datePublished"><?php echo date('d F Y', $p->date) ?></span> - Posted in
|
||||
<span itemprop="datePublished"><?php echo format_date($p->date) ?></span> - Posted in
|
||||
<span itemprop="articleSection"><?php echo $p->category ?></span> by
|
||||
<span itemprop="author"><a href="<?php echo $p->authorUrl ?>"><?php echo $p->author ?></a></span>
|
||||
<?php if (disqus_count()) { ?> -
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
<h1 class="title-post" itemprop="name"><?php echo $p->title ?></h1>
|
||||
<?php } ?>
|
||||
<div class="date">
|
||||
<span itemprop="datePublished"><a href="<?php echo $p->archive ?>" title="Show all posts made on this month"><?php echo date('d F Y', $p->date) ?></a></span>
|
||||
<span itemprop="datePublished"><a href="<?php echo $p->archive ?>" title="Show all posts made on this month"><?php echo format_date($p->date) ?></a></span>
|
||||
- Posted in
|
||||
<span itemprop="articleSection"><?php echo $p->category ?></span> by
|
||||
<span itemprop="author"><a href="<?php echo $p->authorUrl ?>"><?php echo $p->author ?></a></span> -
|
||||
|
|
@ -54,8 +54,6 @@
|
|||
href="https://twitter.com/share?url=<?php echo $p->url ?>&text=<?php echo $p->title ?>">Twitter</a>
|
||||
<a class="facebook" target="_blank"
|
||||
href="https://www.facebook.com/sharer.php?u=<?php echo $p->url ?>&t=<?php echo $p->title ?>">Facebook</a>
|
||||
<a class="googleplus" target="_blank"
|
||||
href="https://plus.google.com/share?url=<?php echo $p->url ?>">Google+</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="related">
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
$i++; ?>
|
||||
<li class="<?php echo $class; ?>">
|
||||
<span><a href="<?php echo $p->url ?>"><?php echo $p->title ?></a></span> on
|
||||
<span><?php echo date('d F Y', $p->date) ?></span> - Posted in <span><?php echo $p->tag ?></span>
|
||||
<span><?php echo format_date($p->date) ?></span> - Posted in <span><?php echo $p->tag ?></span>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue