Generate ReadMe with Flask

This commit is contained in:
LucasVbr
2022-05-19 23:05:52 +02:00
parent cdae22997a
commit 50f2cbc3bc
18 changed files with 434 additions and 236 deletions
+15
View File
@@ -0,0 +1,15 @@
{% for element in data.about -%}
-
{%- for part in element -%}
{{ " " }}
{%- if part.type == "icon" or part.type == "text" -%}
{%- if part.isBold -%}**{%- endif -%}
{{ part.content }}
{%- if part.isBold -%}**{%- endif -%}
{%- elif part.type == "a" -%}
{{ a(part.href, part.content) }}
{%- else -%}
{{"Error: No type found"}}
{%- endif -%}
{%- endfor %}
{% endfor %}