Skip to content

Commit

Permalink
Add domain name to the body text link.
Browse files Browse the repository at this point in the history
  • Loading branch information
ihongda authored Dec 5, 2023
1 parent 14e973d commit 9eec131
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ def add_secondary_toc_to_mainmatter(self, volume: Volume) -> None:
def process_front_and_backmatter_links(self, volume: Volume) -> None:
"""Make all frontmatter and backmatter relative links absolute.
Relative links are used by Suttacentral website, but they do not work in our output files."""
_volume_matters = ["frontmatter", "backmatter"]
_volume_matters = ["frontmatter", "mainmatter", "backmatter"]
for _matters in _volume_matters:
_processed_matters = []
for _matter in getattr(volume, _matters):
Expand Down

0 comments on commit 9eec131

Please sign in to comment.