Better templating

Move the more link to template directly so we can modify the text
without changing any functions.
This commit is contained in:
Danang Probo Sayekti 2015-07-12 13:19:07 +07:00
commit d6f2c67ae4
4 changed files with 44 additions and 44 deletions

View file

@ -36,7 +36,7 @@
<?php } ?>
<div class="teaser-body" itemprop="articleBody">
<?php echo get_thumbnail($p->body) ?>
<?php echo get_teaser($p->body, $p->url) ?>
<p><?php echo get_teaser($p->body) ?>... <a href="<?php echo $p->url;?>#more">more</a></p>
</div>
</div>
</div>