This commit is contained in:
Daniel Hladek 2020-01-26 15:38:45 +01:00
parent 1f42411b00
commit 66c525bd59

View File

@ -13,13 +13,14 @@ content:
<h2>Predmety</h2> <h2>Predmety</h2>
<ul> <ul>
{{ dump(taxonomy) }}
{% for p in page.collection %} {% for p in page.collection %}
<li><a href="{{ p.url }}">{{ p.title }}</a></li> <li><a href="{{ p.url }}">{{ p.title }}</a></li>
{% endfor %} {% endfor %}
</ul> </ul>
<h2>Študenti</h2>
<ul> <ul>
{% for student in taxonomy.findTaxonomy({'teacher':'hladek'}) %} {% for student in taxonomy.findTaxonomy({'teacher':'hladek'}) %}
<li><a href="{{ student.url }}">{{ student.title }}</a> {{student.taxonomy.start_year}}, {{student.taxonomy.topics}}</li> <li><a href="{{ student.url }}">{{ student.title }}</a> </li>
{% endfor %} {% endfor %}
</ul> </ul>