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 %}
+3
View File
@@ -0,0 +1,3 @@
{% for badge in data.badges -%}
{{ img(badge.src, badge.alt) }}
{% endfor %}
@@ -0,0 +1,4 @@
## Connect With Me:
{% for image in data.connectWithMe -%}
{{ a(image.href, img(image.src, image.alt, image.width)) }}
{% endfor %}
+6
View File
@@ -0,0 +1,6 @@
<center>
# Hi {{ img(data.hi.src, data.hi.alt, data.hi.width) }}, I'm LucasVbr
### A passionate developer from France
</center>
@@ -0,0 +1,6 @@
## Languages and Tools:
{% for images in data.languagesAndTools -%}
{% for image in images -%}
{{ a(image.href, img(image.src, image.alt, image.width)) }}
{% endfor %}
{% endfor -%}
+7
View File
@@ -0,0 +1,7 @@
<center>
{% for image in data.stats -%}
{{ img(image.src, image.alt) }}
{% endfor %}
</center>