Merge branch 'v10' of git@github.com:h3rald/h3rald.git
h3rald h3rald@h3rald.com
Sat, 16 Mar 2024 19:35:32 +0100
8 files changed,
13 insertions(+),
13 deletions(-)
M
assets/styles/style.css
→
assets/styles/style.css
@@ -701,21 +701,22 @@ }
.heading-anchor { position: relative; - top: -50px; + top: -70px; display: block; visibility: hidden; } -.go2toc: { +.go2top { font-size: 80%; vertical-align: super; +} #toc { padding-left: 1rem; } -#toc ul { - list-style-type: none; +#toc li { + list-style-type: none; } /* Used only in Glyph Book */
M
rules.min
→
rules.min
@@ -196,15 +196,14 @@ (
() :headings text "<h3[^>]*>([^<]+)</h3>" ( :matches - matches 1 get :level - matches 2 get :title + matches 1 get :title title "[^a-zA-Z0-9_-]" "_" replace :id "heading__$#" (id) =% @id {} title %title id %id headings append @headings - "<a class='heading-anchor' id='$2'></a><h$1>$3 <a class='go2toc' href='#toc'>⇈</a></h$1>" (level id title) =% + "<a class='heading-anchor' id='$1'></a><h3>$2 <a class='go2top' href='#top' title='Go to the top'>⇈</a></h3>" (id title) =% ) replace-apply @result (headings size 3 >=) (
M
templates/article.mustache
→
templates/article.mustache
@@ -1,7 +1,7 @@
<!DOCTYPE html> <html lang="en"> {{> _head}} - <body> + <body id="top"> {{> _theme_switcher}} <div class="main container-fluid themed-content"> <div class="row header">
M
templates/grimoire.mustache
→
templates/grimoire.mustache
@@ -1,7 +1,7 @@
<!DOCTYPE html> <html lang="en"> {{> _head}} - <body> + <body id="top"> {{> _theme_switcher}} <div class="main container-fluid themed-content"> <div class="row header">
M
templates/home.mustache
→
templates/home.mustache
@@ -1,7 +1,7 @@
<!DOCTYPE html> <html lang="en"> {{> _head}} - <body> + <body id="top"> {{> _theme_switcher}} <div class="main container-fluid themed-content"> {{> _header}}
M
templates/page.mustache
→
templates/page.mustache
@@ -1,7 +1,7 @@
<!DOCTYPE html> <html lang="en"> {{> _head}} - <body> + <body id="top"> {{> _theme_switcher}} <div class="main container-fluid themed-content"> <div class="row header">
M
templates/project.mustache
→
templates/project.mustache
@@ -1,7 +1,7 @@
<!DOCTYPE html> <html lang="en"> {{> _head}} - <body> + <body id="top"> {{> _theme_switcher}} <div class="main container-fluid themed-content"> <div class="row header">
M
templates/projects.mustache
→
templates/projects.mustache
@@ -1,7 +1,7 @@
<!DOCTYPE html> <html lang="en"> {{> _head}} - <body> + <body id="top"> {{> _theme_switcher}} <div class="main container-fluid themed-content"> <div class="row header">