mirror of
https://github.com/standardebooks/web.git
synced 2025-07-09 16:20:27 -04:00
Make MARC roles an enum and restructure how contributors are fetched from the DB to reduce queries
This commit is contained in:
parent
daf8e16ef4
commit
d6a2bdcbc8
8 changed files with 91 additions and 75 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue