njpma/app/templates/films.html

20 lines
455 B
HTML
Raw Normal View History

2021-09-28 13:10:22 +00:00
{% extends "base.html" %}
{% block body_class%}animated{% endblock %}
2021-09-28 13:10:22 +00:00
{% block main %}
2021-09-30 18:33:47 +00:00
<div class="films">
2021-09-28 13:10:22 +00:00
{% for film in films %}
2021-09-30 18:33:47 +00:00
<div class="film">
2021-10-11 18:03:23 +00:00
<h1><a href="{{ film.get_absolute_url }}">
<span>{{ film.data.title | safe }}</span>
<span>{{ film.data.title_zh | safe }}</span>
2021-10-11 18:03:23 +00:00
</a></h1>
<h2>
{% for director in film.data.director %}
<span>{{ director|safe }}</span>
{% endfor %}
</h2>
2021-09-30 18:33:47 +00:00
</div>
2021-09-28 13:10:22 +00:00
{% endfor %}
2021-09-30 18:33:47 +00:00
</div>
2021-09-28 13:10:22 +00:00
{% endblock %}