Add links to appendix and condense menu

This commit is contained in:
Hendrik Kleinwaechter
2023-07-14 16:32:15 +02:00
parent 105bc9d7a1
commit 12078a9139
2 changed files with 6 additions and 7 deletions

View File

@@ -225,7 +225,11 @@ class ModifyBuild
return text if menu.nil?
home_html = %Q{<span class="chapterToc home-link"><a href="/">Home</a></span>}
menu.inner_html = "#{home_html} #{menu.inner_html}"
appendix_html = %Q{
<span class="chapterToc"><a href="https://breadco.de/kofi">Donate</a></span>
<span class="chapterToc"><a href="https://breadco.de/hardcover-book">Hardcover Book</a></span>
}
menu.inner_html = "#{home_html} #{menu.inner_html} #{appendix_html}"
doc.to_html
end