about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2026-09-23 15:10:30 +0200
committerRobert Günzler <r@gnzler.io>2026-09-23 23:23:41 +0200
commit37c36cdf3c3e0165555d9b9db6296808e267dccd (patch)
tree843e5733a3c8fe0959b669a8800ab7446b99afa5
parentf1d58129692080759b748c076b08063d58f8db75 (diff)
downloadsite-37c36cdf3c3e0165555d9b9db6296808e267dccd.tar.gz
preproc.lua: wrap "jump to top" link in list element
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to '')
-rw-r--r--preproc.lua2
-rw-r--r--site/2025.html2
-rw-r--r--site/2026.html2
-rw-r--r--site/nikko.html2
-rw-r--r--src/inc/2025.htm2
-rw-r--r--src/inc/2026.htm2
-rw-r--r--src/inc/nikko.htm2
7 files changed, 14 insertions, 0 deletions
diff --git a/preproc.lua b/preproc.lua
index e9aa366..76f0678 100644
--- a/preproc.lua
+++ b/preproc.lua
@@ -27,7 +27,9 @@ return {
 			table.insert(front, pandoc.RawBlock("html5", '<nav class="table-of-contents capital">'))
 			table.insert(front, pandoc.RawBlock("html5", "<ol>"))
 			-- insert jump to top
+			table.insert(front, pandoc.RawBlock("html5", "<li>"))
 			table.insert(front, pandoc.Link("back to top", "#top"))
+			table.insert(front, pandoc.RawBlock("html5", "</li>"))
 			-- create custom toc
 			toc:walk({
 				Link = function(e)
diff --git a/site/2025.html b/site/2025.html
index 9312524..36129df 100644
--- a/site/2025.html
+++ b/site/2025.html
@@ -46,7 +46,9 @@
 <!-- Generated file, you may edit and discard 2025.md :) -->
 <nav class="table-of-contents capital">
 <ol>
+<li>
 <a href="#top">back to top</a>
+</li>
 <li>
 <a href="#december" id="toc-december">december</a>
 </li>
diff --git a/site/2026.html b/site/2026.html
index 41a9bca..76f2a89 100644
--- a/site/2026.html
+++ b/site/2026.html
@@ -46,7 +46,9 @@
 <!-- Generated file, you may edit and discard 2026.md :) -->
 <nav class="table-of-contents capital">
 <ol>
+<li>
 <a href="#top">back to top</a>
+</li>
 <li>
 <a href="#september" id="toc-september">september</a>
 </li>
diff --git a/site/nikko.html b/site/nikko.html
index 32d5008..7a4287a 100644
--- a/site/nikko.html
+++ b/site/nikko.html
@@ -46,7 +46,9 @@
 <!-- Generated file, you may edit and discard nikko.md :) -->
 <nav class="table-of-contents capital">
 <ol>
+<li>
 <a href="#top">back to top</a>
+</li>
 <li>
 <a href="#getting-there" id="toc-getting-there">getting there</a>
 </li>
diff --git a/src/inc/2025.htm b/src/inc/2025.htm
index f867484..2030506 100644
--- a/src/inc/2025.htm
+++ b/src/inc/2025.htm
@@ -1,7 +1,9 @@
 <!-- Generated file, you may edit and discard 2025.md :) -->
 <nav class="table-of-contents capital">
 <ol>
+<li>
 <a href="#top">back to top</a>
+</li>
 <li>
 <a href="#december" id="toc-december">december</a>
 </li>
diff --git a/src/inc/2026.htm b/src/inc/2026.htm
index 80b7115..01e2a64 100644
--- a/src/inc/2026.htm
+++ b/src/inc/2026.htm
@@ -1,7 +1,9 @@
 <!-- Generated file, you may edit and discard 2026.md :) -->
 <nav class="table-of-contents capital">
 <ol>
+<li>
 <a href="#top">back to top</a>
+</li>
 <li>
 <a href="#september" id="toc-september">september</a>
 </li>
diff --git a/src/inc/nikko.htm b/src/inc/nikko.htm
index 3ce3940..8dce637 100644
--- a/src/inc/nikko.htm
+++ b/src/inc/nikko.htm
@@ -1,7 +1,9 @@
 <!-- Generated file, you may edit and discard nikko.md :) -->
 <nav class="table-of-contents capital">
 <ol>
+<li>
 <a href="#top">back to top</a>
+</li>
 <li>
 <a href="#getting-there" id="toc-getting-there">getting there</a>
 </li>