fixed wrong header title being used
Gitea Action for checking typst compilation / run-ci-linux (push) Successful in 27s
Details
Gitea Action for checking typst compilation / run-ci-linux (push) Successful in 27s
Details
This commit is contained in:
parent
b46660e605
commit
a7f4937f9e
|
@ -141,7 +141,7 @@
|
|||
if headers-before.len() > 0 {
|
||||
header-title = headers-before.last().body
|
||||
} else {
|
||||
let headers-after = query(selector(heading.where(numbering: "1.", level: 1)).after(here()))
|
||||
let headers-after = query(selector(heading.where(numbering: "1.1.1", level: 1)).after(here()))
|
||||
|
||||
if headers-after.len() > 0 {
|
||||
header-title = headers-after.first().body
|
||||
|
|
Loading…
Reference in New Issue