mirror of
https://0xacab.org/anarsec/anarsec.guide.git
synced 2025-06-07 22:32:55 -04:00
ru el layout
This commit is contained in:
parent
2bc348f2ce
commit
03a354321c
3 changed files with 10 additions and 4 deletions
|
@ -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"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue