Skip to content

Commit

Permalink
wondering why this behavior is different on the web than on my machine
Browse files Browse the repository at this point in the history
  • Loading branch information
eerussianguy committed Oct 4, 2024
1 parent 1e4ae03 commit fd86249
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ def build_book_html(context: Context):
title=context.translate(I18n.TITLE),
long_title=context.translate(I18n.TITLE) + " | " + versions.MC_VERSION,
short_description=context.translate(I18n.HOME),
preview_image=get_splash_location().replace('..\\..\\_images\\', ''),
preview_image=get_splash_location().replace('..\\..\\_images\\', '') + '.png',
text_index=context.translate(I18n.INDEX),
text_contents=context.translate(I18n.CONTENTS),
text_version=context.translate(I18n.VERSION),
Expand Down Expand Up @@ -463,7 +463,7 @@ def build_book_html(context: Context):
title=context.translate(I18n.TITLE),
long_title=cat.name + " | " + context.translate(I18n.SHORT_TITLE),
short_description=cat.name,
preview_image=get_splash_location().replace('..\\..\\_images\\', ''),
preview_image=get_splash_location().replace('..\\..\\_images\\', '') + '.png',
text_index=context.translate(I18n.INDEX),
text_contents=context.translate(I18n.CONTENTS),
text_version=context.translate(I18n.VERSION),
Expand Down Expand Up @@ -522,7 +522,7 @@ def build_book_html(context: Context):
title=context.translate(I18n.TITLE),
long_title=entry.name + " | " + cat.name + " | " + context.translate(I18n.SHORT_TITLE),
short_description=entry.name,
preview_image=entry.icon.replace('..\\..\\_images\\', ''),
preview_image=entry.icon.replace('..\\..\\_images\\', '').replace('../../_images/', ''),
text_index=context.translate(I18n.INDEX),
text_contents=context.translate(I18n.CONTENTS),
text_version=context.translate(I18n.VERSION),
Expand Down

0 comments on commit fd86249

Please sign in to comment.