njpma/app/templates/films.html
2021-10-11 19:03:23 +01:00

15 lines
328 B
HTML

{% extends "base.html" %}
{% block main %}
<div class="films">
{% for film in films %}
<div class="film">
<h1><a href="{{ film.get_absolute_url }}">
{{ film.data.title | safe }}
{{ film.data.title_zh | safe }}
</a></h1>
<h2>{{ film.data.director|join:" "|safe }}</h2>
</div>
{% endfor %}
</div>
{% endblock %}