mirror of
https://github.com/danpros/htmly.git
synced 2026-04-21 04:56: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
|
|
@ -80,7 +80,13 @@
|
|||
</div>
|
||||
<div class="tagcloud">
|
||||
<h3>Tags</h3>
|
||||
<?php echo tag_cloud() ?>
|
||||
<?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>
|
||||
</aside>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -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