mirror of
https://github.com/LucasVbr/LucasVbr.git
synced 2026-05-13 17:11:52 +00:00
15 lines
469 B
Django/Jinja
15 lines
469 B
Django/Jinja
{% 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 %} |