fnp
/
librarian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba9a8ba
)
fix
author
Radek Czajka
<rczajka@rczajka.pl>
Fri, 4 Oct 2024 11:10:23 +0000
(13:10 +0200)
committer
Radek Czajka
<rczajka@rczajka.pl>
Fri, 4 Oct 2024 11:10:23 +0000
(13:10 +0200)
src/librarian/builders/html.py
patch
|
blob
|
history
diff --git
a/src/librarian/builders/html.py
b/src/librarian/builders/html.py
index
5bbe76a
..
0b063c6
100644
(file)
--- a/
src/librarian/builders/html.py
+++ b/
src/librarian/builders/html.py
@@
-127,7
+127,7
@@
class HtmlBuilder:
if self.with_toc:
add_table_of_contents(self.tree)
- if
self.document.counters['fn'] > 1
:
+ if
len(self.footnotes)
:
fnheader = etree.Element("h3")
fnheader.text = _("Footnotes")
self.footnotes.insert(0, fnheader)