From 3596ea2d0f5aba3f13ccf92ceb2560b7fa581364 Mon Sep 17 00:00:00 2001 From: oppiliappan Date: Tue, 23 Dec 2025 15:34:23 +0000 Subject: [PATCH] docs: improve template to work nicer on mobile prevents scrolling if the content is insufficient, this allows next/prev buttons to be above the fold. Signed-off-by: oppiliappan --- docs/template.html | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/docs/template.html b/docs/template.html index 9fbae026..b441c4dd 100644 --- a/docs/template.html +++ b/docs/template.html @@ -37,32 +37,32 @@ - + $for(include-before)$ $include-before$ $endfor$ - $if(toc)$ - -
- - $if(toc-title)$$toc-title$$else$Table of Contents$endif$ - ${ menu.svg() } - - - ${ table-of-contents:toc.html() } -
- - + $if(toc)$ + +
+ + $if(toc-title)$$toc-title$$else$Table of Contents$endif$ + ${ menu.svg() } + + + ${ table-of-contents:toc.html() } +
+ + $endif$ -
-
+
+
$if(top)$ $-- only print title block if this is NOT the top page $else$ @@ -76,7 +76,7 @@

$author$

$endfor$ $if(date)$ -

$date$

+

Updated on $date$

$endif$ $if(abstract)$
-- 2.51.2