mirror of
https://github.com/danpros/htmly.git
synced 2026-04-22 13:36:22 +05:30
Improve the TOC
Even in posts collections page, create the TOC as long as its in full post mode.
This commit is contained in:
parent
6c8c1271c2
commit
06140ec58c
8 changed files with 19 additions and 15 deletions
|
|
@ -49,7 +49,7 @@
|
|||
<blockquote><?php echo $p->quote ?></blockquote>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="teaser-body" itemprop="articleBody">
|
||||
<div class="teaser-body post-<?php echo $p->date;?>" itemprop="articleBody">
|
||||
<?php echo get_thumbnail($p->body) ?>
|
||||
<?php echo get_teaser($p->body, $p->url) ?>
|
||||
<?php if (config('teaser.type') === 'trimmed'):?><a href="<?php echo $p->url;?>"><?php echo config('read.more'); ?></a><?php endif;?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue