Nested Noten
This commit is contained in:
@ -8,7 +8,18 @@
|
||||
<br>
|
||||
<br>
|
||||
{% for i in noten %}
|
||||
<h2>{{ i[0] }}: {{ i[1].capitalize() }} (Credits: {{ i[2] }})</h2>
|
||||
{% if i[1]|length == 1 %}
|
||||
{% if i[1][0][0].isnumeric() or i[1][0][-1].isalpha()%}
|
||||
<h2>{{ i[0][0] }}: {{ i[1][0] }} (Credits: {{ i[2][0] }})</h2>
|
||||
{% else %}
|
||||
<h2>{{ i[0][0] }}: {{ i[1][0][-3:] }} (Credits: {{ i[2][0] }})</h2>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
<h2>{{ i[0][0] }} (Credits: {{ i[2][0] }}):</h2>
|
||||
{% for e in i[1] %}
|
||||
<h2>      {{ e }}</h2>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
<br>
|
||||
<br>
|
||||
|
||||
Reference in New Issue
Block a user