Fix sidebar scrolling with part titles.
This commit is contained in:
parent
138dc696b7
commit
e9951af73e
|
@ -101,7 +101,7 @@ impl HelperDef for RenderToc {
|
||||||
|
|
||||||
// Part title
|
// Part title
|
||||||
if let Some(title) = item.get("part") {
|
if let Some(title) = item.get("part") {
|
||||||
out.write("<li class=\"part-title active\">")?;
|
out.write("<li class=\"part-title\">")?;
|
||||||
out.write(title)?;
|
out.write(title)?;
|
||||||
out.write("</li>")?;
|
out.write("</li>")?;
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue