mirror of
https://github.com/danpros/htmly.git
synced 2026-04-18 03:26:20 +05:30
Add TOC
Allow to add TOC using shortcode (<!--toc-->). TOC add button in text editor.
This commit is contained in:
parent
4d8cfbb733
commit
6c8c1271c2
11 changed files with 100 additions and 8 deletions
|
|
@ -28,7 +28,7 @@
|
|||
<h1 class="entry-title"><?php echo $p->title; ?></h1>
|
||||
<?php } ?>
|
||||
</header>
|
||||
<div class="entry-content">
|
||||
<div class="entry-content post-<?php echo $p->date;?>">
|
||||
<?php echo $p->body; ?>
|
||||
</div>
|
||||
<style>.related {padding-bottom:2em;}.related p {margin-top:0;margin-bottom:0.5em;} .related ul {margin-left:1em;}</style>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue