From 676065f6f030e2260bf0ac9627130bb91a675be9 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Mon, 25 Mar 2024 01:02:56 +0100 Subject: [PATCH] readme_generator: fix the all_readme.md markdown (#2178) * fix the all_readme.md markdown * fix double final break lines --------- Co-authored-by: Bram --- readme_generator/templates/ALL_README.md.j2 | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/readme_generator/templates/ALL_README.md.j2 b/readme_generator/templates/ALL_README.md.j2 index 5ce5e94..2bdcfe2 100644 --- a/readme_generator/templates/ALL_README.md.j2 +++ b/readme_generator/templates/ALL_README.md.j2 @@ -1,14 +1,13 @@ # All available README files by language -[Read the README in English](README.md) - -{% for filename, translated_sentence in links_to_other_READMEs %} +- [Read the README in English](README.md) +{% for filename, translated_sentence in links_to_other_READMEs -%} - [{{ translated_sentence }}]({{ filename }}) -{% endfor %} +{% endfor -%} -{% if False %} +{% if False -%} Yes this is a hack to add the translatable string to messages.pot -{{ _("Read the README in %(language)s") }} -{% endif %} +{{- _("Read the README in %(language)s") }} +{% endif -%}