Browse Source

Improve theme

Improving the default theme.
pull/189/head
Danang Probo Sayekti 10 years ago
parent
commit
d1f803c3a7
3 changed files with 12 additions and 3 deletions
  1. +4
    -1
      themes/clean/post.html.php
  2. +4
    -1
      themes/default/post.html.php
  3. +4
    -1
      themes/logs/post.html.php

+ 4
- 1
themes/clean/post.html.php View File

@ -40,7 +40,10 @@
href="https://plus.google.com/share?url=<?php echo $p->url ?>">Google+</a>
</div>
</div>
<?php echo get_related($p->tag) ?>
<div class="related">
<h4>Related posts</h4>
<?php echo get_related($p->tag)?>
</div>
<div id="comments" class="comments border">
<?php if (facebook()): ?>
<div class="fb-comments" data-href="<?php echo $p->url ?>" data-numposts="<?php echo config('fb.num') ?>" data-colorscheme="<?php echo config('fb.color') ?>"></div>


+ 4
- 1
themes/default/post.html.php View File

@ -37,7 +37,10 @@
<a class="googleplus" target="_blank" href="https://plus.google.com/share?url=<?php echo $p->url ?>">Google+</a>
</div>
</div>
<?php echo get_related($p->tag) ?>
<div class="related">
<h4>Related posts</h4>
<?php echo get_related($p->tag)?>
</div>
<div id="comments" class="comments border">
<?php if (facebook()): ?>
<div class="fb-comments" data-href="<?php echo $p->url ?>" data-numposts="<?php echo config('fb.num') ?>" data-colorscheme="<?php echo config('fb.color') ?>"></div>


+ 4
- 1
themes/logs/post.html.php View File

@ -42,7 +42,10 @@
href="https://plus.google.com/share?url=<?php echo $p->url ?>">Google+</a>
</div>
</div>
<?php echo get_related($p->tag) ?>
<div class="related">
<h4>Related posts</h4>
<?php echo get_related($p->tag)?>
</div>
<div id="comments" class="comments border">
<?php if (facebook()): ?>
<div class="fb-comments" data-href="<?php echo $p->url ?>" data-numposts="<?php echo config('fb.num') ?>" data-colorscheme="<?php echo config('fb.color') ?>"></div>


Loading…
Cancel
Save