~hristoast/mousikofidi

5d9d96e45f82fe8f284fe3f6f1c5bf14840e0f0e — Hristos N. Triantafillou 8 months ago 9f23a40
Insert the toc after the page heading
2 files changed, 2 insertions(+), 2 deletions(-)

M soupault.conf
M templates/main.html
M soupault.conf => soupault.conf +2 -1
@@ 42,7 42,8 @@

[widgets.table-of-contents]
  widget = "toc"
  selector = "#generated-toc"
  selector = "div#content h1"
  action = "insert_after"
  min_level = 2
  toc_list_class = "toc"
  toc_class_levels = false

M templates/main.html => templates/main.html +0 -1
@@ 14,7 14,6 @@
    <header>
      <div class="center" id="header"></div>
      <nav class="bold center"></nav>
      <div id="generated-toc"></div>
      <div id="content"></div>
      <hr />
      <footer class="center"></footer>