mirror of
https://github.com/danpros/htmly.git
synced 2026-04-17 19:26:08 +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
|
|
@ -61,7 +61,7 @@
|
|||
<h2 class="entry-title"><a href="<?php echo $p->url; ?>"><?php echo $p->title; ?></a></h2>
|
||||
</header>
|
||||
<?php } ?>
|
||||
<div class="entry-content">
|
||||
<div class="entry-content post-<?php echo $p->date;?>">
|
||||
<?php echo get_teaser($p->body, $p->url); ?>
|
||||
<?php if (config('teaser.type') === 'trimmed'):?><a class="more-link" href="<?php echo $p->url; ?>"><?php echo config('read.more'); ?></a><?php endif;?>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue