diff options
Diffstat (limited to '')
| -rw-r--r-- | preproc.lua | 2 | ||||
| -rw-r--r-- | site/2025.html | 2 | ||||
| -rw-r--r-- | site/2026.html | 2 | ||||
| -rw-r--r-- | site/nikko.html | 2 | ||||
| -rw-r--r-- | src/inc/2025.htm | 2 | ||||
| -rw-r--r-- | src/inc/2026.htm | 2 | ||||
| -rw-r--r-- | src/inc/nikko.htm | 2 |
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> |