summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--site/cleopatra/soupault.org5
1 files changed, 3 insertions, 2 deletions
diff --git a/site/cleopatra/soupault.org b/site/cleopatra/soupault.org
index 92042c2..3cbb7a0 100644
--- a/site/cleopatra/soupault.org
+++ b/site/cleopatra/soupault.org
@@ -244,9 +244,10 @@ heading_links_append = true
heading_link_class = "anchor-link"
[widgets.append-toc-title]
-widget = "preprocess_element"
+widget = "insert_html"
selector = "#generate-toc"
-command = 'echo "<h2>Table of Contents</h2> $(cat)"'
+action = "prepend_child"
+html = '<h2>Table of Contents</h2>'
after = "table-of-contents"
#+end_src