Uncomment call to chapter navigation footer script

This commit is contained in:
erin 2024-11-15 05:39:25 +10:00 committed by Alex Cabal
parent b8981ba284
commit 66c44cbdbe

View file

@ -354,7 +354,7 @@ do
find "${workDir}"/src/epub \( -type d -name .git -prune \) -o -type f -name "*.xhtml" -print0 | xargs -0 sed --in-place --regexp-extended "s|<body([^>]*)>|<body\1><header><nav><ul><li><a href=\"/\">Standard Ebooks</a></li><li><a href=\"${bookUrl}\">Back to ebook</a></li><li><a href=\"${bookUrl}/text\">Table of contents</a></li></ul></nav></header>|"
# Add a chapter navigation footer to each page.
#"${scriptsDir}"/inject-chapter-navigation-footer "${workDir}" "${bookUrl}"
"${scriptsDir}"/inject-chapter-navigation-footer "${workDir}" "${bookUrl}"
# Adjust sponsored links in the colophon.
sed --in-place 's|<p><a href="http|<p><a rel="nofollow" href="http|g' "${workDir}"/src/epub/text/colophon.xhtml