diff --git a/html/export_yaml_to_html.py b/html/export_yaml_to_html.py index 0225ba7..8b6db43 100644 --- a/html/export_yaml_to_html.py +++ b/html/export_yaml_to_html.py @@ -120,8 +120,11 @@ template = env.from_string(""" {{categorie.capitalize()}} {#- Gestion des tableaux #} - {% if categorie == "motscles" or categorie == "sae" or categorie == "ressources" -%} + {% if categorie == "motscles" or categorie == "ressources" -%}
{% for mot in valeur %}{{mot}}{% endfor %}
+ {#- Gestion des saes #} + {% elif categorie == "sae" %} +
{% for sae in valeur %}{{sae}}{% endfor %}
{#- Gestion des ACS #} {% elif categorie == "acs" -%}
{% for rt,acs in valeur.items() %}{% for ac in acs %}{{ac}}{% endfor %}{% endfor %}