summaryrefslogtreecommitdiff
path: root/soupault.conf
diff options
context:
space:
mode:
Diffstat (limited to 'soupault.conf')
-rw-r--r--soupault.conf13
1 files changed, 12 insertions, 1 deletions
diff --git a/soupault.conf b/soupault.conf
index 0f8c779..a8bda40 100644
--- a/soupault.conf
+++ b/soupault.conf
@@ -23,6 +23,17 @@
[widgets]
+# Moves all elements with class="footnote" or tag name <fn> to <div id="footnotes">
+# and replaces them with numbered links.
+[widgets.footnotes]
+ widget = "footnotes"
+ selector = "div#footnotes"
+ footnote_selector = [".footnote", "fn"]
+ footnote_link_class = "footnote"
+ back_links = true
+ link_id_prepend = "footnote-"
+ back_link_id_append = "-ref"
+
# Inserts the banner in main page only
[widgets.insert-banner]
widget = "include"
@@ -37,5 +48,5 @@
selector = "div#content"
action = "append_child"
- page = "snapshots.md"
+ page = "get/snapshots.md"
profile = "live"