ru el layout

This commit is contained in:
anarsec 2024-11-23 17:22:41 -05:00
parent 2bc348f2ce
commit 03a354321c
No known key found for this signature in database
3 changed files with 10 additions and 4 deletions

View file

@ -142,6 +142,10 @@ class Converter:
markdown_content += f"\n\n# Appendix: Recommendations\n\n{recommendations}\n\n"
if self.post_lang == 'fr':
markdown_content += f"\n\n# Annexe: Recommendations\n\n{recommendations}\n\n"
if self.post_lang == 'el':
markdown_content += f"\n\n# Appendix: Recommendations\n\n{recommendations}\n\n"
if self.post_lang == 'ru':
markdown_content += f"\n\n# Appendix: Recommendations\n\n{recommendations}\n\n"
# Make all images paths relative in the Markdown content
for extension in ["jpg", "png", "webp", "jpeg", "gif"]:
@ -161,6 +165,10 @@ class Converter:
markdown_content += "\n\n# Appendix: Glossary\n\n"
if self.post_lang == 'fr':
markdown_content += "\n\n# Annexe: Glossaire\n\n"
if self.post_lang == 'el':
markdown_content += "\n\n# Appendix: Glossary\n\n"
if self.post_lang == 'ru':
markdown_content += "\n\n# Appendix: Glossary\n\n"
for entry, entry_content in glossary.items():
if entry in glossary_entries:
markdown_content += f"""