njpma/app/templates/films.html

19 lines
455 B
HTML

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